MEETING ROOMS III | LEETCODE # 2402 | PYTHON HEAP SOLUTION

  Рет қаралды 5,985

Cracking FAANG

Cracking FAANG

Күн бұрын

Discord Community: / discord
Problem Link: leetcode.com/problems/meeting...
In this video we are solving yet again another one of these Meeting Room problems: Meeting Rooms III (Leetcode 2402).
Currently being asked at Google and is very similar to the other ones except now there's a bunch of annoying restrictions on us about how and when we can schedule a meeting.
We'll still want to use a heap for our solution though now we have to be a little bit more clever given the new restrictions posed on us.
TIMESTAMPS
00:00 Intro
00:15 Question Prompt
01:27 Basic Example
04:41 Basic Intuition
07:55 Coding
16:00 Time/Space Complexity

Пікірлер: 8
@devashishubale1565
@devashishubale1565 8 ай бұрын
Best explanation for this problem on youtube. Thanks
@erange5430
@erange5430 7 ай бұрын
Great video! Even the bug part was really good! It confirmed that I understand the solution :)
@prerakchoksi2379
@prerakchoksi2379 11 ай бұрын
great explaination thanks!!!
@achyutupadhyay8438
@achyutupadhyay8438 10 ай бұрын
Great Video! Quick question: Wont the space complexity be O(n), n = number of rooms? Cause you're updating the end time of the rooms for busy and available and count are also storing the rooms.
@aaditya_87
@aaditya_87 5 ай бұрын
TIL, tuple elements can be accessed in the same way as array elements
@aishwariyaaish8305
@aishwariyaaish8305 Жыл бұрын
Thanks alot for putting so much effort to make our interview preparation less hectic. can you solve this question **2421 Number of Good Paths Hard**
@crackfaang
@crackfaang Жыл бұрын
It's on my list, will likely do it in January
@ZubairKhan-fw9dp
@ZubairKhan-fw9dp Жыл бұрын
first
Furthest Building You Can Reach - Leetcode 1642 - Python
11:08
NeetCodeIO
Рет қаралды 14 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 101 МЛН
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 14 МЛН
Valid Sudoku - Amazon Interview Question - Leetcode 36 - Python
13:28
ROBOT ROOM CLEANER | LEETCODE # 489 | PYTHON BACKTRACK SOLUTION
19:44
RANGE MODULE | LEETCODE 715 | PYTHON SOLUTION
29:39
Cracking FAANG
Рет қаралды 6 М.
SLIDING WINDOW MEDIAN| LEETCODE 480 | PYTHON TWO-HEAP SOLUTION
30:07
Cracking FAANG
Рет қаралды 3,6 М.
2402. Meeting Rooms III | Sorting | Heap(Priority Queue) | Hard 🥶
39:38
Day 8 - Solving LeetCode Problems Until FAANG Hires Me
6:22
EXPRESSION ADD OPERATORS | LEETCODE # 282 | PYTHON SOLUTION
24:05
Cracking FAANG
Рет қаралды 4,7 М.
Meeting Rooms II
6:07
Kevin Naughton Jr.
Рет қаралды 74 М.
PARALLEL COURSES | LEETCODE 1136 | PYTHON TOPOLOGICAL SORT
13:52
Cracking FAANG
Рет қаралды 2 М.
Meeting Rooms III - Leetcode 2402 - Python
16:16
NeetCodeIO
Рет қаралды 19 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,1 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2 МЛН
Что еще за съемные фронталки от Vivo? #vivo
0:41
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 2,1 МЛН