Code With Me: 24 FAANG Interview Questions

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 84

  • @NoOne-ev3jn
    @NoOne-ev3jn Год назад +14

    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

  • @michelangelopus2051
    @michelangelopus2051 2 года назад +6

    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!

  • @tedchirvasiu
    @tedchirvasiu 2 года назад +17

    Holy guacamole, 4 hours of content

  • @alexliebhaber3109
    @alexliebhaber3109 2 года назад +52

    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!

  • @ritwik121
    @ritwik121 2 года назад

    Thanks for these leetcode series.

  • @aviral4080
    @aviral4080 2 года назад

    hey colin, pls bring back topicwise stream !
    Thank you

  • @russellc
    @russellc 2 года назад +4

    Blind 75 next ??? 🙏

    • @CostaKazistov
      @CostaKazistov 2 года назад

      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)

  • @lel0uchfr199
    @lel0uchfr199 2 года назад

    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 ?

  • @Loev06
    @Loev06 2 года назад +9

    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 2 года назад +2

      no time complexity benefit, so counting is simpler and more readable. but your approach does work

  • @ranitbandyopadhyay
    @ranitbandyopadhyay 2 года назад +8

    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

  • @badarmiqdad3161
    @badarmiqdad3161 2 года назад +6

    As a competitive programmer,if you were to begin from the start what would you change about the learning process?

  • @horizon204
    @horizon204 2 года назад +29

    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

  • @CostaKazistov
    @CostaKazistov 2 года назад +16

    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 RUclips are benefitting by learning how you approach solving these questions.

    • @zecrumpet9984
      @zecrumpet9984 2 года назад +4

      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 2 года назад +6

      @@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 2 года назад

      @@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.

  • @verified_tinker1818
    @verified_tinker1818 Год назад +25

    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 Год назад

      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 8 месяцев назад

      I have never even though of that.

  • @johnapple3471
    @johnapple3471 10 месяцев назад +1

    Bro this guy probably is rank god on LOL

  • @tedfitzpatrickyt
    @tedfitzpatrickyt 2 года назад +3

    This is awesome Colin, I’ll be coding along with your video soon.

  • @jonathanjoestar176
    @jonathanjoestar176 2 года назад +2

    should it be updated to MAANG bc fb is Meta now? x)

    • @CostaKazistov
      @CostaKazistov 2 года назад

      Goodbye, FAANG.
      Hello, MAMAA.
      [last one: Alphabet]

  • @dhankaniaryannarendra8504
    @dhankaniaryannarendra8504 2 года назад +2

    LOVE UR VIDEOS KEEP THEM COMING. IT's an honor to learn from the best in the field.

  • @_sixtyfour
    @_sixtyfour 2 года назад +1

    how long did this video take to upload? nearly 4 hours of video to compress XD

  • @kratos1537
    @kratos1537 2 года назад +2

    Thanks

  • @Daman1628
    @Daman1628 2 года назад +3

    keep doing it, you are a godsend

  • @crazycow08
    @crazycow08 2 года назад +1

    it's simpler to use auto to represent whatever this type is in the for loop.

  • @shivanshkhare5943
    @shivanshkhare5943 Год назад +1

    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.

  • @johnapple3471
    @johnapple3471 9 месяцев назад

    YO that last question! This mfker is a genius

  • @wesleyso0
    @wesleyso0 2 года назад +2

    You're so cool Colin!

  • @elvisgarcia1822
    @elvisgarcia1822 2 года назад

    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 :)

  • @jupiter2809
    @jupiter2809 2 года назад +1

    bro amazing💚💚💚💚💚big fan of you....Best mentor

  • @xskrish
    @xskrish 2 года назад +1

    finally done with that thumbnail as promised

  • @mostpplarezombies
    @mostpplarezombies Год назад

    left my pc for 2,5 hours and this is what I come home to?! .... gj AI

  • @codingmaster008
    @codingmaster008 2 года назад

    you should( explore mi and al datascience and ) do projects and system design for interview Great job colin.....

  • @marcgrab
    @marcgrab 2 года назад

    I guess if you switched to python you could have finished everything in half the time. :)

  • @shivanshkhare5943
    @shivanshkhare5943 Год назад

    Last problem solution is like someone is magically putting correct thoughts in your brain. How does that happen?

  • @manishbolbanda9872
    @manishbolbanda9872 2 года назад +1

    Added to my weekend watchlist

  • @derilraju2106
    @derilraju2106 Год назад +1

    we need more of these!

  • @gamedime8450
    @gamedime8450 Год назад

    Why this video keeps getting recommended to me?

  • @jackgame8841
    @jackgame8841 2 года назад

    could u make it run on console, i'm really curious how this is work 8:35

  • @theblinkingbrownie4654
    @theblinkingbrownie4654 Год назад

    1:40:00 counting characters should be faster, right?

  • @sinocchi3321
    @sinocchi3321 2 года назад

    26:54 wonder how it still works when your bool_all_9 and all_9 are different variables

  • @Ramon01
    @Ramon01 2 года назад

    amazing how you came up and implemented that bit manipulation at 1:24:00 ! I would have never thought of that!

  • @vincevdam
    @vincevdam 2 года назад

    I just hope to get as good as you someday. Thanks for this video.

  • @AsherDMckoy
    @AsherDMckoy 2 года назад

    My guy needs to get his hands on Jane Street questions

  • @imbesrs
    @imbesrs 2 года назад

    @colin what drawing pad do you use

  • @TRoss-ru6sg
    @TRoss-ru6sg Год назад

    I love this style of videos Colin

  • @andee2
    @andee2 Год назад

    what a legend

  • @nelsonwang4582
    @nelsonwang4582 2 года назад

    Here it goes my respected coding mentor 🤗🤗

  • @suraj-ej6oq
    @suraj-ej6oq 2 года назад

    Yeeyeee...

  • @M9SQ4
    @M9SQ4 Год назад

    TRY ASMR

  • @TrollFreeInternet
    @TrollFreeInternet 2 года назад +2

    Thank you for uploading this..just one suggestion..it would be nice if you can explain time and space complexity at the end.

  • @rishabmalhotra6980
    @rishabmalhotra6980 2 года назад +3

    That's a smart Chik 🌝

  • @anshulsingh1265
    @anshulsingh1265 2 года назад +1

    don't mind but you really look's like a beautiful girl...
    please don't feel bad about it XD

  • @lofibeats2344
    @lofibeats2344 2 года назад +1

    Damnnnnnnnnnn

  • @imbesrs
    @imbesrs 2 года назад

    youre going crazy thanks for these videos!

  • @mkd0x
    @mkd0x 2 года назад

    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 !

  • @adityagaur2223
    @adityagaur2223 2 года назад +5

    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 RUclips.
    But since the last few videos have to see these bullshit leetcode videos. And then this comment will be ignored.

    • @codingmaster008
      @codingmaster008 2 года назад

      let him breathe he also have a dream to get in big companies he is living his life😃

    • @adityagaur2223
      @adityagaur2223 2 года назад +1

      @@codingmaster008 I'll pray for him.

  • @Matthew4770
    @Matthew4770 2 года назад

    Please update your browser, please.

  • @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!

    • @YeetYeetYe
      @YeetYeetYe 3 месяца назад

      The problem is this field is now saturated, and about 1 million people could easily answer your example questions.

    • @AndrewErwin73
      @AndrewErwin73 3 месяца назад

      @YeetYeetYe maybe. But about 1 million people that can solve leet code problems CAN'T answer those simple questions about actual programming. That is what FAANG did.

  • @yasinnabi
    @yasinnabi 2 года назад

    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,..,.,.,

  • @suraj-ej6oq
    @suraj-ej6oq 2 года назад

    Please share code in java also.. Please...

    • @amitmahato6404
      @amitmahato6404 2 года назад +8

      Understand the logic. Don't eat the whole code

    • @CostaKazistov
      @CostaKazistov 2 года назад +2

      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.

  • @notlinuxneverdies5846
    @notlinuxneverdies5846 2 года назад

    In my opinion you should focus more on competitive programming rather than interviews

  • @ankitkr09
    @ankitkr09 2 года назад

    Please stop now :(

  • @JDC2890
    @JDC2890 2 года назад

    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.

  • @teddy911
    @teddy911 2 года назад

    are you in college or ?