Code With Me: 24 FAANG Interview Questions

  Рет қаралды 106,661

Colin Galen

Colin Galen

Күн бұрын

Get your daily dose of FAANG for 24 days, or one mega-dose of FAANG for one day. This video is mostly designed for guided practice. That means, if you're trying to get good at coding interviews, you'll get the most out of this video by trying the questions yourself and using this video as a guide if you're stuck or want an alternate solution.
But if you want to watch this video for other reasons... go ahead, too.
Resource doc (with question & FAANG lists, and also my code):
docs.google.com/document/d/1T...
Music
Local Forecast - Slower by Kevin MacLeod
Link: incompetech.filmmusic.io/song...
License: [yt dislikes this link, removed]
(yes, I use this song too much)
This Is For You (Prod. by Lukrembo)
Link : • lukrembo - this is for...
Timestamps:
0:00:00 Intro
0:01:17 Facebook, easy 1
0:08:29 Apple, easy 1
0:19:34 Amazon, easy 1
0:23:10 Google, easy 1
0:26:57 Facebook, easy 2
0:34:54 Apple, easy 2
0:39:38 Amazon, easy 2
0:44:25 Google, easy 2
0:49:58 Facebook, medium 1
0:55:32 Apple, medium 1
0:59:36 Amazon, medium 1
1:13:30 Google, medium 1
1:27:10 Facebook, medium 2
1:35:57 Apple, medium 2
1:40:37 Amazon, medium 2
1:49:09 Google, medium 2
1:56:21 Facebook, hard 1
2:08:29 Apple, hard 1
2:24:33 Amazon, hard 1
2:35:14 Google, hard 1
2:47:32 Facebook, hard 2
3:01:31 Apple, hard 2
3:14:32 Amazon, hard 2
3:25:16 Google, hard 2
3:39:11 Conclusion

Пікірлер: 83
@alexliebhaber3109
@alexliebhaber3109 Жыл бұрын
Hey Colin, I'm a web dev atm. I've found your channel about a week ago, and watching your videos has me wanting to go deeper into data structures. I appreciate the content!
@kdot78
@kdot78 Жыл бұрын
Same
@NoOne-ev3jn
@NoOne-ev3jn Жыл бұрын
The most valuable part for me is when I see you make a mistake or don’t know what’s the problem were, and this makes who watches actually realise that making mistakes or not knowing what to do is actually good for them and for their improvement, and don’t have to go just typing mechanically like they do in movies. And your planning also is awesome
@CostaKazistov
@CostaKazistov Жыл бұрын
Breezed through it in under 4 hours. Wow. You'd be making well over six figures in a FAANG company. It's nice that you are enjoying teaching. Thousands of coders here on KZfaq are benefitting by learning how you approach solving these questions.
@zecrumpet9984
@zecrumpet9984 Жыл бұрын
Not true. While he's an amazing LCer and CPer, that will only get you so far. You need to have excellent communication skills, design skills, and domain knowledge to be able to make it past six figures, and even past 500k at most faang companies. Not to say Colin Galen doesn't necessarily have these, but I just wanted to mention that you cannot have only one of these skills above and achieve what was mentioned.
@MrTacoMan123
@MrTacoMan123 Жыл бұрын
@@zecrumpet9984 this is true. I had a competitive programmer in my team and he was a low performer. Couldn’t do anything else well besides coding and eventually he got laid off
@YeetYeetYe
@YeetYeetYe Жыл бұрын
@@zecrumpet9984 Most likely by "well over six figures" he just meant "well over 100k". It's hard to make millions, even at FAANG. You need to be at the Principal Engineer / Staff Engineer level for that, which extremely few people ever get to.
@tedchirvasiu
@tedchirvasiu Жыл бұрын
Holy guacamole, 4 hours of content
@horizon204
@horizon204 Жыл бұрын
This content is way more helpful than competitive programming since it benefits lots of people. I have learned a lot merely from your thinking process. Keep up the good work, wish your channel would grow
@dhankaniaryannarendra8504
@dhankaniaryannarendra8504 Жыл бұрын
LOVE UR VIDEOS KEEP THEM COMING. IT's an honor to learn from the best in the field.
@michelangelopus2051
@michelangelopus2051 Жыл бұрын
You actually do one hell of a job explaining the logic behind your code. This is a great code along experience and really lets others follow your line of thought. Please keep these type of contents coming!
@tedfitzpatrickyt
@tedfitzpatrickyt Жыл бұрын
This is awesome Colin, I’ll be coding along with your video soon.
@retrograder3303
@retrograder3303 11 ай бұрын
This video is really useful for interview prep! Shows what you should be thinking about
@ranitbandyopadhyay
@ranitbandyopadhyay Жыл бұрын
Want this sort of videos regularly. Keep it up 👍👍. By the way 3rd problem can also be done using bit manipulation and this optimises the space complexity using xor
@Daman1628
@Daman1628 Жыл бұрын
keep doing it, you are a godsend
@TRoss-ru6sg
@TRoss-ru6sg Жыл бұрын
I love this style of videos Colin
@vincevdam
@vincevdam Жыл бұрын
I just hope to get as good as you someday. Thanks for this video.
@derilraju2106
@derilraju2106 Жыл бұрын
we need more of these!
@Ramon01
@Ramon01 Жыл бұрын
amazing how you came up and implemented that bit manipulation at 1:24:00 ! I would have never thought of that!
@verified_tinker1818
@verified_tinker1818 Жыл бұрын
There's a fiendishly simple solution to "Rotate String": create a string that's `s` repeated twice and check if it contains `goal`. It'll contain every possible shift.
@ethanmky3179
@ethanmky3179 Жыл бұрын
L😊p😊
@isws
@isws 9 ай бұрын
sure, but you again, have to do some rolling hash or some other pattern finding algorithm if want to have a O(N) solution. Otherwise you are gonna end up to a O(N^2) solution, which is good enough when N
@akashsonar6332
@akashsonar6332 4 ай бұрын
I have never even though of that.
@manishbolbanda9872
@manishbolbanda9872 Жыл бұрын
Added to my weekend watchlist
@jupiter2809
@jupiter2809 Жыл бұрын
bro amazing💚💚💚💚💚big fan of you....Best mentor
@ritwik121
@ritwik121 Жыл бұрын
Thanks for these leetcode series.
@wesleyso0
@wesleyso0 Жыл бұрын
You're so cool Colin!
@nelsonwang4582
@nelsonwang4582 Жыл бұрын
Here it goes my respected coding mentor 🤗🤗
@mkd0x
@mkd0x Жыл бұрын
Hey colin Love your channel, I love your content and especially your mindset videos. I feel like proper mindset and discipline are the #1 element of success. And sometime in the midst of all the fake motivationnal videos, it gets harder and harder to have a proper base to lean on. I learned a lot from your video on the "Dark side of competitive programming", the difference Beetween Growth and Fixed mindset. It's not that I didn't knew it, but sometimes having a stranger speak vocally about your inner thought helps realize stuff you already knew, but it an effective way. Keep up the video when you feel like it, you're awesome man !
@badarmiqdad3161
@badarmiqdad3161 Жыл бұрын
As a competitive programmer,if you were to begin from the start what would you change about the learning process?
@codingmaster008
@codingmaster008 Жыл бұрын
you should( explore mi and al datascience and ) do projects and system design for interview Great job colin.....
@TrollFreeInternet
@TrollFreeInternet Жыл бұрын
Thank you for uploading this..just one suggestion..it would be nice if you can explain time and space complexity at the end.
@Loev06
@Loev06 Жыл бұрын
With the problem at 19:37, could you also have calculated the sum of the values of the characters? The difference between these sums will then be the added character's value.
@akshaygulabrao4423
@akshaygulabrao4423 Жыл бұрын
no time complexity benefit, so counting is simpler and more readable. but your approach does work
@elvisgarcia1822
@elvisgarcia1822 Жыл бұрын
Hello Colin from Dominican Republic. if you get change can you make a video of how to get stared in competitive programing for people who doesn't know nothing about algorithms and data structures like vlogs to read, if any kind of mathematics helps idk? I'm personally learning about web development but when I try to learn algorithms I don't undertand almost nothing like how to analise the problem or start to solve the problem, I don''t know what to do :( I'm so impresed about your skills and how fast you analise the problem and solve it, thanks god i found your channel, i really apreciate your content :)
@andee2
@andee2 Жыл бұрын
what a legend
@aviral4080
@aviral4080 Жыл бұрын
hey colin, pls bring back topicwise stream ! Thank you
@imbesrs
@imbesrs Жыл бұрын
youre going crazy thanks for these videos!
@mostpplarezombies
@mostpplarezombies Жыл бұрын
left my pc for 2,5 hours and this is what I come home to?! .... gj AI
@imbesrs
@imbesrs Жыл бұрын
@colin what drawing pad do you use
@kratos1537
@kratos1537 Жыл бұрын
Thanks
@johnapple3471
@johnapple3471 6 ай бұрын
YO that last question! This mfker is a genius
@_sixtyfour
@_sixtyfour Жыл бұрын
how long did this video take to upload? nearly 4 hours of video to compress XD
@lel0uchfr199
@lel0uchfr199 Жыл бұрын
Hi, I’m new to your channel and I love the whey you explain, I have a little question, what do you think about codewars ? And could you do some JavaScript sometimes or you only know to do C++ and python ?
@TannerJarring
@TannerJarring Жыл бұрын
no one cares
@sinocchi3321
@sinocchi3321 Жыл бұрын
26:54 wonder how it still works when your bool_all_9 and all_9 are different variables
@crazycow08
@crazycow08 Жыл бұрын
it's simpler to use auto to represent whatever this type is in the for loop.
@AsherDMckoy
@AsherDMckoy Жыл бұрын
My guy needs to get his hands on Jane Street questions
@shivanshkhare5943
@shivanshkhare5943 9 ай бұрын
In google hard, you didn't even think whether there would be a way to not remove an obstacle so that we could remove another obstacle later and reach the end faster. And then come to the realisation that not removing it is already covered by the different path in the bfs we are doing. You just knew the answer. The above logic was like done internally by your brain. You didn't need to consciously think about it. Thats really weird. I have never been able to do such a thing in any skill. Maybe I just never practiced enough.
@theblinkingbrownie4654
@theblinkingbrownie4654 Жыл бұрын
1:40:00 counting characters should be faster, right?
@jonathanjoestar176
@jonathanjoestar176 Жыл бұрын
should it be updated to MAANG bc fb is Meta now? x)
@CostaKazistov
@CostaKazistov Жыл бұрын
Goodbye, FAANG. Hello, MAMAA. [last one: Alphabet]
@jackgame8841
@jackgame8841 Жыл бұрын
could u make it run on console, i'm really curious how this is work 8:35
@russellc
@russellc Жыл бұрын
Blind 75 next ??? 🙏
@CostaKazistov
@CostaKazistov Жыл бұрын
It would be like that video of William Lin speed running CSES questions in 12 hours (most of which are equivalent of Hard level on Leetcode)
@xskrish
@xskrish Жыл бұрын
finally done with that thumbnail as promised
@suraj-ej6oq
@suraj-ej6oq Жыл бұрын
Yeeyeee...
@johnapple3471
@johnapple3471 6 ай бұрын
Bro this guy probably is rank god on LOL
@rishabmalhotra6980
@rishabmalhotra6980 Жыл бұрын
That's a smart Chik 🌝
@teddy911
@teddy911 Жыл бұрын
are you in college or ?
@gamedime8450
@gamedime8450 Жыл бұрын
Why this video keeps getting recommended to me?
@marcgrab
@marcgrab Жыл бұрын
I guess if you switched to python you could have finished everything in half the time. :)
@lofibeats2344
@lofibeats2344 Жыл бұрын
Damnnnnnnnnnn
@AndrewErwin73
@AndrewErwin73 Жыл бұрын
I appreciate that there is a world of competitive interview questions...but the fact is, most of this stuff is useless if you are a web developer. Back in my day, we asked things like "what is the difference between a class and an object?", and "what is an interface? how does it differ from an abstract class?" and "what is the different between an inner join and a left outer join?"...things you might actually need to know when building a SaaS application!
@Matthew4770
@Matthew4770 Жыл бұрын
Please update your browser, please.
@anshulsingh1265
@anshulsingh1265 Жыл бұрын
don't mind but you really look's like a beautiful girl... please don't feel bad about it XD
@M9SQ4
@M9SQ4 Жыл бұрын
TRY ASMR
@suraj-ej6oq
@suraj-ej6oq Жыл бұрын
Please share code in java also.. Please...
@amitmahato6404
@amitmahato6404 Жыл бұрын
Understand the logic. Don't eat the whole code
@CostaKazistov
@CostaKazistov Жыл бұрын
C++ to Java is much easier to translate than Python code. The only tricky part are pointers, but concept is pretty straight-forward. So glad Java does not make you work with raw pointers. I did 6 months last year purely in C++ to get good at CP style coding, but really appreciate convenience of Java and even more in Kotlin.
@adityagaur2223
@adityagaur2223 Жыл бұрын
Srsly man I was waiting for your graph series and the harder and more complex competitive programming stuff that only a great competitive programmer like you can explain in good as they ain't have much good explanation on KZfaq. But since the last few videos have to see these bullshit leetcode videos. And then this comment will be ignored.
@codingmaster008
@codingmaster008 Жыл бұрын
let him breathe he also have a dream to get in big companies he is living his life😃
@adityagaur2223
@adityagaur2223 Жыл бұрын
@@codingmaster008 I'll pray for him.
@YasinNabi
@YasinNabi Жыл бұрын
People who are complaining that their income is low or they deserve higher salary, they should create more value in the market. Update yourself with high income skills to be able to create more value into the market place to be paid well. a fellow creator,..,.,.,
@notlinuxneverdies5846
@notlinuxneverdies5846 Жыл бұрын
In my opinion you should focus more on competitive programming rather than interviews
@ankitkr09
@ankitkr09 Жыл бұрын
Please stop now :(
@potatopotato4676
@potatopotato4676 Жыл бұрын
Why?
@NoOne-ev3jn
@NoOne-ev3jn Жыл бұрын
@@potatopotato4676 it hurts his ego
@shivanshkhare5943
@shivanshkhare5943 9 ай бұрын
Last problem solution is like someone is magically putting correct thoughts in your brain. How does that happen?
@JDC2890
@JDC2890 Жыл бұрын
You do not want to see the embarrassing messes I made of Apple 'easy' 2, you really don't. The solutions I came up with by myself without looking for help were O(N^2), and exceeded the time limit. With looking at a bit of other stuff I was able to make things better, then I had to look at your stuff. It worries me that I didn't come up with remotely efficient ways of doing the problem.
Exploring LeetCode's WORST Questions
1:14:00
Colin Galen
Рет қаралды 26 М.
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 40 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 59 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Кушать Хочу
Рет қаралды 3,7 МЛН
Unlocking Your Intuition: How to Solve Hard Problems Easily
17:34
Colin Galen
Рет қаралды 1,2 МЛН
Ranking Every Data Structure & Algorithm
39:13
Colin Galen
Рет қаралды 63 М.
Taking On Google's HARDEST Interview Questions
1:25:26
Colin Galen
Рет қаралды 15 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 149 М.
3-Minute Mental Hack to Take Control of Your Subconscious
11:25
Colin Galen
Рет қаралды 1,2 МЛН
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,3 МЛН
Top Competitive Programmer vs. FAANG Interview Questions
45:09
Colin Galen
Рет қаралды 358 М.
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 182 М.
A Deep Understanding of Dynamic Programming [Intro / Overview]
29:03
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 550 М.
Main filter..
0:15
CikoYt
Рет қаралды 7 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,2 МЛН
МОЩНЕЕ ТВОЕГО ПК - iPad Pro M4 (feat. Brickspacer)
28:01
ЗЕ МАККЕРС
Рет қаралды 84 М.
#miniphone
0:16
Miniphone
Рет қаралды 3,2 МЛН