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

Optimize The Page Loading Speed For Your Online Shop

Create a Personal Website for Free with GitHub Pages

Replication Controller Vs Replica Set

Installing SSL Certificate for GeoServer/Jetty

Check the Power Strip

Joy and Misery | A Month of WebGL

15 Hilarious Videos About Difference between odoo community vs enterprise

Test. Code. Sleep Peacefully. Repeat.

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

Joy of Computer Program's Logic

Big O Notation - 1

Dynamic Programming — Longest Increasing Subsequence

How to find power of any number efficiently ?