INSERT/DELETE/GETRANDOM() O(1) | PYTHON | LEETCODE # 380

  Рет қаралды 807

Cracking FAANG

Cracking FAANG

Күн бұрын

In this video we are solving Leetcode Problem # 380: Insert/Delete/GetRandom() O(1). This is an interesting question in that we have to use two data structures under the hood to solve this question.
This is quite a good interview question because it really tests your knowledge of the basics of the core data structures you use everyday. The solution is quite simple but requires you to think about the properties of the data structures to figure it out.

Пікірлер: 1
@subee128
@subee128 8 ай бұрын
Thanks
LOWEST COMMON ANCESTOR OF A BINARY TREE II | PYTHON | LEETCODE 1644
20:46
STRING TO INTEGER (ATOI) | PYTHON | LEETCODE # 8
15:04
Cracking FAANG
Рет қаралды 10 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 19 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 35 МЛН
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 45 МЛН
Insert Delete GetRandom O(1) | LeetCode 380 | C++, Java, Python | 🔥🔥
29:10
Insert Delete GetRandom O(1) - Leetcode 380 - Python
13:27
NeetCode
Рет қаралды 45 М.
EXCLUSIVE TIME OF FUNCTIONS | LEETCODE 636 | PYTHON SOLUTION
15:42
Cracking FAANG
Рет қаралды 4,3 М.
BUILDINGS WITH AN OCEAN VIEW | PYTHON | LEETCODE 1762
6:51
Cracking FAANG
Рет қаралды 4,4 М.
INSERT INTO CIRCULAR LINKED LIST | LEETCODE # 708 | PYTHON SOLUTION
15:25