Top Competitive Programmer vs. Google Coding Interview

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

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

  • @Gunslinger962
    @Gunslinger962 2 года назад +20

    Lmao "this chick is hot" comment got me

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

    Wow, new thumbail

  • @TrenBlack
    @TrenBlack 2 года назад +11

    Need an interviewer? i’m not clement but i’ve also worked at Facebook and had offers from google, amazon, doordash, etc. Lmk

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

      Woah tren's here

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

      I need an interviewer but I don't know how to do twoSum, let me know if you got one.

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

      Oh wow (fairly big fan btw), yeah I'd totally be up for that. I have a dumb idea that may or may not be interesting to see played out, and I'll reach out when I'm ready for it.

  • @soumik5854
    @soumik5854 2 года назад +10

    This chick is hot

  • @lennythach607
    @lennythach607 2 года назад +10

    I don't know why people complain and try to give feedback about the lack of explanations of your code. When you clearly state at the beginning of those videos that it is not your intention to try to explain it. I smell a little saltiness. >_> Learning to explain the code and proper naming convention is literally the easy part when you understand the logic very well. Love your content, Colin! I started bingeing them.

  • @Kruziikrel13
    @Kruziikrel13 2 года назад +27

    I tried doing it on my own at first. I program daily for many hours (upwards of 6 a day) and this challenge still stumped me. I don't even know where to begin. I am always worried with coding that no matter how much of my own coding and self teaching I do I'll never be good enough to get a job in it which is my sole goal at this current point in time. Even being half way through my computer science degree I am still clueless.

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

      All it takes is practice man. Just keep grinding and you will get better at it. Also, depending on which companies you are aiming for, you might not even need any of this. There are plenty of companies out there that have pretty easy interviews.

    • @Zyhru
      @Zyhru 2 года назад +12

      Don't be discouraged man. Leetcode problems will always have a pattern that you have to get familiar with. I started off with not knowing any of the basic patterns and got stumped a lot. (and I still do!) But once you start to understand and learn some patterns then you will start to understand a problem more.

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

      Bro it's like how long can you survive grinding knowing that you are an idiot...
      Longer you survive, more you realise...
      Later on, you will recognize the pattern. You must watch this video to understand it: ruclips.net/video/5eW6Eagr9XA/видео.html

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

      Leetcode problems are not that important. Many competitive programmers say that this kind of problems is not relevant with the work life. They just make it easy passing interviews

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

      @@spotifyhesap536 You are completley right. I'm a software engineer and I never use leetcode stuff on the job.

  • @SulaimanVesalVideos
    @SulaimanVesalVideos 2 года назад +10

    Colin, you are the KING. You know, the way you started this new videos and challenging FANNG questions is quite innovative and new. I have never seen any other competitive programmer doing such things. On the other hand, many (I mean many) people are looking for easy way to crack the coding interview in FANNG and the way you explain your thought process and smoothly solving even the hard questions is awesome. Please stay in this direction, you will not only challenging yourself but also help thousands of thousands of people who are interviewing for FAANG.

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

    that chick is hot
    “these comments do have a point”
    LMFAO

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

    You are my idol!
    Keep doing amazing stuff

  • @manu-gt9gr
    @manu-gt9gr 2 года назад +2

    nice video bro, i have the first two solutions but i can't do it as well as you, i need to learn more.

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

    I never use l as a variable name, because in some fonts it looks identical to 1. I had this unfortunate experience when reading someone else's Matlab code and it was so horrible (mostly because using Matlab is already traumatic for me, in and of itself), that it is seared into my psyche never to use one letter variable names, but especially not l.

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

      @@noomade Lowercase L (which you have seen as a variable name if you watched this video). But yeah lowecase L looks like uppercase i on youtube. And lower case l also sometime looks like 1. So all in all, a variable name to avoid. Uppercase i is often used as a variable name to represent an identiy matrix, which is also a crappy idea.

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

      They're all easy to tell apart in the fonts used in code editors; I think the problem is not in using them, it's in the number of fonts outside of programming which don't differentiate significantly or at all amongst them.

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

    LFG! Colin bringing the fire as always. You are my spirit animal that I will take on the Google on-site later this year.

  • @not_ever
    @not_ever 2 года назад +18

    If this was a mock interview then you did very well, the explanations were clear and the understanding of the problem and how your solution works were good. I noticed a couple of things on the last problem which are fine in this video but in a real life interview I would be careful about.
    First, don't make comments like, "Why is this a string?" over and over, unless you are going to frame it in a different way such as "Why is this a string? I wonder if I can use that to solve the problem in some way. Maybe the string length blah blah blah", or else you may appear to be criticising the organisation/people who are interviewing you.
    Second, don't pick Python just to avoid overflow problems, especially if your Python is not strong and never say out loud "I'm picking x language to avoid dealing with problems in y language". Unless you are certain that the job will not entail you dealing with similar problems in y language, keep that thought to yourself or express it in a more positive way.
    For example, if I was interviewing you and there was a high chance of you having to deal with overflow issues in C++ on the job, I now wouldn't want to hire you. However if you'd just used Python and not said anything, maybe I wouldn't have that opinion. If anyone asks why you picked Python, you could say something like, "I thought that Python would be a good way to prototype the solution and confirm that the logic works, without having to focus too much on overflow at this stage, however if I were to implement this in C++, I would do blah, blah, blah".
    Consider learning Rust or improving your Python game for situations like that. If you only answer one question in an interview, you don't want your lasting impression to be the guy who explains things well and interviews well, but writes slow, non-Pythonic, Python because any little thing can be used to discriminate between two or three really strong candidates for a job.

    • @ColinGalen
      @ColinGalen  2 года назад +7

      Very fair points, thanks for the feedback! I'll try to watch my tone especially, that'll probably be a recurring issue unless I do something about it.

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

      thanks

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

      Why would learning Rust help with his display of under confidence in his ability with python or with his unwillingness to code lengthy overflow checks in c++? The problem allowed him to use any language and quickly mocking up a solution in a language he is unfamiliar with displays a great flexibility coupled with the fact he explained that he was not strong in python showed he has a good understanding of his own abilities and he is honest. In my experience few interviewers would penalize him for such comments and in fact would prefer to hire a candidate like this rather than one who used overreaching language to cover up for their own incompetence like you are suggesting.

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

    Lol at the comment about muscle tone. People are envious of your skills

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

    Yooo my guy plays terraria :O

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

    You rule Colin and everyone else is just a pretender. I've been a Sysadmin / DevOps Engineer for many years and I'm getting into programming. I've done many interviews, and I can tell you for a fact that you could make a hefty 6 figure income if you applied at Facebook. But then you might not have fun there doing what you like to do. I recommend working for Renaissance Technologies where they could care less how you interview, it's how smart you are and how you think about solving problems. You could get very rich there, because the only people who can invest in the Medallion Fund are the employees of Renaissance. The Medallion Fund has outpaced the rest of the field for many years, just dump a little of your salary into the fund every month and you can retire as a young multimillionaire in your twenties or thirties.

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

    Algoexpert sponsor coming up.

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

    All that salt from the Faang Lords nitpicking variable names because this guy smashed problems they struggled with lol!

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

    These are cool to watch

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

    Hi! Consider myself one of the 2500 new subs based on the last couple videos. Great content!

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

    Bro you're so freaking good and I don't think u can't explain yourself. You just need to be more confident and a little more outgoing and ur channels gonna blow up in subs. Keep up the good work!

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

    this guy is the saruman of competitive programming😂

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

    I am not a fan of the background music.

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

    Hey..that's not fair. I thought he is a girl .

  • @Ryan-xq3kl
    @Ryan-xq3kl 2 года назад

    raw for loops do not express intent - Bjarne

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

    Weren't u done with the thumbnail, lol?

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

    More topic based stream please!!

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

    More topic based stream please!!

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

    More topic based stream please!!

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

    bloons gaming gigachad

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

    More topic based stream please!!

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

    Idc i love all ur thumbnails so cool

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

    Keep Uploading VS mode😅

  • @shake-her3908
    @shake-her3908 2 года назад

    Thumbnail 🤣

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

    3:30am ? hell yeah

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

    Awesome work!

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

    Keep going brother

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

    What's ur age Colin??
    And small question y do u blink a lot

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

      Because he has 120hz refresh rate and needs to slow down the world.

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

    Lol wtf “you have really poor muscle tone”. That doesn’t even matter at all in technical interviews hahahaha

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

    first question I'm using 2 variable first & second to store 2 type of fruit, and a variable start to hold where to take the fruit, second will store the first position of the line contain only 1 type of fruit, when we find 3rd type, we check with max_length and continue next window (moving "start") from second, posting here in case someone want to optimize storage complex

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

    as a joke, you should put some kind of epic music or anime hero music when approaching to solution
    on a serious note, does it matter on actual interview which language you use during problem solving? ps reasoning about using python was on point

  • @Terms-and-Conditions
    @Terms-and-Conditions 2 года назад

    i didn't know people make fun of your looks, i said you would be excellent trap as a compliment, it means you are pretty

    • @Terms-and-Conditions
      @Terms-and-Conditions 2 года назад

      (but please even if you will be so good at it don't do it it its degen and will ruin your life)

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

    I know "r" and "l" are good variable names for right and left, but "l" is a terrible variable name, think about it for a second, on many fonts "l" looks like "I" (capital i), 1 (number 1). On your code it's confusing when you see "fruits[l]" or "r - l - 1", usually people try to avoid single character variable names, because of this reason.

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

    My favourite femboy!