Meeting Room ii: DSA

Input: intervals = [(0,30),(5,10),(15,20)]
Output: 2
Explanation:
We need two meeting rooms
room1: (0,30)
room2: (5,10),(15,20)
Input: intervals = [(2,7)]
Output: 1
Explanation:
Only need one meeting room

--

--

--

Tech-Enthusiast, Coder,Explorer,Geeky,Software Engineer |A piece of code delivers everything that you need. The world is all about codes.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A data structure called Scapegoat Tree

Share Data To Another Application In Flutter

Warm Welcome to @reddyismav from @socketdottech and @TheKeiron from @MurAll_art to our upcoming…

Databases Benchmark

What is the next version after AEM 6.5?

How do we test Serverless java APIs in PALO IT

Robotic Process Automation (RPA)Enterprise Application Integration (EAI) — The Nucleus To Your…

Enterprise application integration ruling

READ/DOWNLOAD$> IT Strategy: Issues and Practices (3rd Edition) FULL BOOK PDF & FULL AUDIOBOOK

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Dhanarajappu

Dhanarajappu

Tech-Enthusiast, Coder,Explorer,Geeky,Software Engineer |A piece of code delivers everything that you need. The world is all about codes.

More from Medium

Why coding still matters

My Experience With The Perse Computer Coding Challenge

Interview with Erion Adams, Emerging Tech Developer

Erion Adams