Рет қаралды 23,346
Can you guess the right algorithm? In this video, you'll be presented with a bunch of interview questions that have historically been asked in FAANG interviews. Your task is to figure out the right algorithm or data structure to use for each question. You'll be given 4 choices each time, but be careful - some (but not many) questions will require multiple topics at once!
This video has a lot of uses, besides just being for fun. See the "why this video is useful" timestamp.
Dictionary (definitions of each topic): docs.google.com/document/d/1c...
Questions
Q1: leetcode.com/problems/lemonad...
Q2: leetcode.com/problems/delete-...
Q3: leetcode.com/problems/maximiz...
Q4: leetcode.com/problems/number-...
Q5: leetcode.com/problems/count-s...
Q6: leetcode.com/problems/maximum...
Q7: leetcode.com/problems/arrangi...
Q8: leetcode.com/problems/minimum...
Q9: leetcode.com/problems/number-...
Q10: leetcode.com/problems/sqrtx/
Q11: leetcode.com/problems/reduce-...
Q12: leetcode.com/problems/minimum...
Q13: leetcode.com/problems/triangle/
Q14: leetcode.com/problems/swim-in...
Q15: leetcode.com/problems/max-are...
Q16: leetcode.com/problems/self-di...
Q17: leetcode.com/problems/network...
Q18: leetcode.com/problems/redunda...
Q19: leetcode.com/problems/delete-...
Q20: leetcode.com/problems/jump-ga...
Q21: leetcode.com/problems/count-n...
Q22: leetcode.com/problems/map-of-...
Q23: leetcode.com/problems/avoid-f...
Q24: leetcode.com/problems/delete-...
Q25: leetcode.com/problems/pizza-w...
Music
Local Forecast - Slower by Kevin MacLeod
Link: incompetech.filmmusic.io/song...
License: [yt dislikes this link, removed]
Sunset On Terra by HYBRID V (Creative Commons License)
creativecommons.org/licenses/...
Support by RFM - NCM: bit.ly/2xGHypM
Sthlm Sunset by Ehrling
• Ehrling - Sthlm Sunset
(not exactly sure how to credit, the link is dead)
Dreams by Bensound
www.bensound.com
Support by RFM - NCM: bit.ly/2xGHypM
Paradise by Ikson ( / ikson )
Link: • Ikson - Paradise
This Is For You (Prod. by Lukrembo)
Link : • lukrembo - this is for...
Timestamps
00:00 Intro
01:40 Why this video is useful
03:21 Q1
04:28 Q2
05:13 Q3
06:02 Q4
06:48 Q5
07:31 Q6
08:12 Q7
08:59 Q8
10:00 Q9
10:59 Q10
11:31 Q11
12:11 Q12
13:03 Q13
13:48 Q14
14:38 Q15
15:12 Q16
15:59 Q17
16:40 Q18
17:20 Q19
18:06 Q20
19:08 Q21
20:16 Q22
21:12 Q23
22:23 Q24
23:13 Q25
24:12 Conclusion