I Tried To Speedrun LeetCode

Поділитися
Вставка
  • Опубліковано 22 тра 2024
  • A top competitive programmer from the Codeforces/CodeChef realm (with almost zero prior interview experience) tries to solve over 50 LeetCode questions in an hour to find out: how good is competitive programming alone? With very little interview experience, how fast can I crush these relatively easy questions? Find out in this video experiment.
    Question list: leetcode.com/problemset/algor...
    Chrome extension: chrome.google.com/webstore/de...
    Support me with money: www.buymeacoffee.com/galencolin
    Music:
    Sthlm Sunset by Ehrling
    • Ehrling - Sthlm Sunset
    (not exactly sure how to credit, the given link is dead)
    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
    This Is For You (Prod. by Lukrembo)
    Link: • lukrembo - this is for...
    Timestamps:
    0:00:00 Intro
    0:00:44 Format
    0:02:00 Quarter 1
    0:16:46 Quarter 1 - Recap
    0:17:54 Quarter 2
    0:33:29 Quarter 2 - Recap
    0:34:04 Quarter 3
    0:49:04 Quarter 3 - Recap
    0:49:39 Quarter 4
    1:04:15 Quarter 4 - Recap
    1:04:41 Conclusion
  • Наука та технологія

КОМЕНТАРІ • 116

  • @dhankaniaryannarendra8504
    @dhankaniaryannarendra8504 Рік тому +111

    Never seen someone destroying questions like these. Please Do a medium difficulty speed run. We love your content Colin Galen.

  • @andersonklein3587
    @andersonklein3587 Рік тому +25

    I've watched a couple of your videos and you clearly are an amazing coder with a good understanding of algorithms. So it is so reassuring when you still have to look up some basic Python stuff sometimes, honestly it is always disheartening when I have already been coding with it for years and sometimes forget really silly things like how to get the length of a vector in a given language. Glad to see it doesn't mean I'm a bad coder for it.

  • @tedfitzpatrickyt
    @tedfitzpatrickyt Рік тому +40

    Thanks Colin! I actually worked through all of these as you did (but I paused your video in between questions LOL). I would love to do the same thing with Leet's medium and hard questions, and questions from other platforms.

    • @ColinGalen
      @ColinGalen  Рік тому +5

      Seems like this video didn't do too well (though it got a bit of traction recently... hard to tell, honestly), so I'll probably put off the higher difficulty speedruns until later when I'm less concerned about growth.
      But next video (in < 24 hours, probably), will have more of that "follow along" element, with various difficulties, so it should be sufficient.

    • @justvibin3671
      @justvibin3671 Рік тому +1

      @@ColinGalen From a full-time SWE perspective, I think a higher difficulty video would've done way better. For instance I personally would've been more inclined to share this video if you were speedrunning mediums or hards.

  • @AD-zh1cm
    @AD-zh1cm Рік тому +5

    I love your videos man. Thank you for sharing

  • @gosubob
    @gosubob Рік тому +21

    You should speed run the virtual contests. Go through all four, look at rank, then quit the virtual and go to next one. Would be exciting to watch.

  • @gabrielabdul
    @gabrielabdul Рік тому

    Nice video -- haven't finished yet. I found the chrome extension extremely useful.

  • @bennettmajawa6556
    @bennettmajawa6556 Рік тому +4

    Kudos Mr. programmer you really inspire us

  • @ColinGalen
    @ColinGalen  Рік тому +61

    Okay, okay, I promise I'm almost done with this thumbnail (edit: it was changed, so this no longer applies)

    • @nguyendatz
      @nguyendatz Рік тому +8

      try contest leetcode, bro

    • @theoric
      @theoric Рік тому +2

      I thought that was the same video lol. Btw, what about a video of CS Data Structures Tierlist?

    • @Abhinavneelam
      @Abhinavneelam Рік тому +2

      You should do cses problem set for speedrun

    • @Abhinavneelam
      @Abhinavneelam Рік тому

      Also consider playing light background music like classical music so video becomes more entertaining 😀

    • @tedchirvasiu
      @tedchirvasiu Рік тому

      I love that thumbnail

  • @Mello-yt3oh
    @Mello-yt3oh Рік тому +4

    I recently started learning programming (Python) and the way you solve these problems inspires me! You got a new fan my good man

    • @immor8al808
      @immor8al808 3 місяці тому

      Actually a bit late to reply Im also learning python if you like it kindly please share your progress I would like to know it

  • @atultiwari7056
    @atultiwari7056 Рік тому +6

    Please keep them coming content like this....✌

  • @ganeshkamath89
    @ganeshkamath89 Рік тому +2

    Thanks a lot Colin. I hope to one day become this good.

  • @RustyNPiece
    @RustyNPiece Рік тому +4

    C++ is so effing fast - incredible. I code along in JS since I started with web dev and holy cow is the difference big!
    3:46 I lol'ed hard when you changed to Python here and answered with a one-liner : D

  • @anexocelisia9377
    @anexocelisia9377 Рік тому +6

    please do speed runs of medium as well as hard q's too !!!! and more of these easy speedruns please

  • @dhankaniaryannarendra8504
    @dhankaniaryannarendra8504 Рік тому +13

    Learnt a lot from this. Boosted my confidence while solving leetcode questions.

  • @MrTablturnr
    @MrTablturnr Рік тому +12

    Speedrun mediums! They’re by far the most common difficulty for interviews

  • @notlinuxneverdies5846
    @notlinuxneverdies5846 Рік тому +3

    please make a video for tough math problems , I always get stuck in them in atcoder

  • @spaceclones3115
    @spaceclones3115 Рік тому +3

    Please do speedruns for the hard problems as well

  • @pranshu6331
    @pranshu6331 Рік тому +3

    Hi , Can you tell us what resources did you use to master data structures and algorithms. It would be really helpful

  • @ron0studios
    @ron0studios Рік тому +1

    Hey you should try reaching out to clement's channel and do some algoexpert questions there as well!

  • @farazmirza6048
    @farazmirza6048 Рік тому +1

    Nice Colin, you went to MBHS right? I'm used to seeing you destroy high school programming contests, which is crazy because I always thought you were past college rn

  • @chiragniyogi7196
    @chiragniyogi7196 Рік тому +4

    Someday I really want to reach at this level.

  • @emperoralthaf6264
    @emperoralthaf6264 Рік тому +1

    Yo bro you are insane 🤯!!
    Thanks for boosting confidence 😁

    • @flighted2513
      @flighted2513 Рік тому +4

      how does this boost your confidence lol? Thought it would make it less

    • @emperoralthaf6264
      @emperoralthaf6264 Рік тому

      @@flighted2513 I solved parallely with colin galen. We both think the same logic. It will give you hope that you can solve more problems!. Just read the comments don't research it! 😂

  • @zach6101
    @zach6101 Рік тому

    What a god. I wonder where he will be in 10 years if he is already this experienced so young

  • @hieishaka321
    @hieishaka321 Рік тому +3

    wtfed hard at that add two integers problem

  • @cppxaxa
    @cppxaxa Рік тому

    I can't say enough ... in short - Thanks a lot for this.

  • @moemoe-jb2fw
    @moemoe-jb2fw Рік тому +2

    I’m watching with 0% competitive programming and 0% interview experience how and where can I start my journey ?

  • @qazaqempire3828
    @qazaqempire3828 Рік тому

    At 44:00 how did u highlight all the green problems?

  • @AbstractAbsorption
    @AbstractAbsorption Рік тому +3

    Keep targeting this userbase; gonna be great for engagement

  • @tritran4139
    @tritran4139 Рік тому

    You the best!

  • @I_m_the_light
    @I_m_the_light Рік тому

    Thank you

  • @sebastiananderson8679
    @sebastiananderson8679 Рік тому +1

    Dude, apply to Hudson River Trading. You would crush every interview they throw at you.

  • @vinhnghiang1273
    @vinhnghiang1273 Рік тому

    31:17 what is string(1,c)? anyone help me please, I did search for it but don't quite understand it

    • @zanies6288
      @zanies6288 Рік тому

      Sorry for replying to a 2 month old comment, but it is creating a new string f with length 1, initialized with the character c.

  • @Deutriex
    @Deutriex Рік тому +4

    If you mastered JavaScript, you can solve most problems writing a single line of code under 80 characters.

    • @wealthmaster69
      @wealthmaster69 Рік тому +1

      really??? `o` but i see almost everyone is solving these problems either in C++, java or python .
      Can you emphasize why is so ?

    • @Deutriex
      @Deutriex Рік тому +1

      @@wealthmaster69 it can achieved mostly by using Array methods and ES6 syntax. This is the power of declarative programming.

    • @shafiqulislam7107
      @shafiqulislam7107 Рік тому

      but javascript is slow better than c or cpp

  • @vanvothe4817
    @vanvothe4817 Рік тому +1

    Maybe, you need try vim

  • @davr9724
    @davr9724 Рік тому

    Sheesh I wonder how many mediums you could do in an hour.

  • @jackgame8841
    @jackgame8841 Рік тому

    i am learning how to googling in here

  • @carlosmartinezsanchez2144
    @carlosmartinezsanchez2144 2 місяці тому

    i love the 3:50 python moment

  • @hridayansh7682
    @hridayansh7682 Рік тому

    everybody hit subscribe! we need that medium level video!

  • @gintoki100
    @gintoki100 Рік тому

    do medium next plz

  • @Getentertainedp
    @Getentertainedp Рік тому

    he looks like that hacker guy from the anime The Pet girl of sakura sau

  • @chess_club812
    @chess_club812 Рік тому +2

    12:13 Python people 😂

  • @Hrit
    @Hrit Рік тому

    man are you a heavy metal guy?

  • @hobrin4242
    @hobrin4242 Рік тому

    haha for problem 2011 you can do a funni thing and use javascript's eval(string code) to execute actual js code and do the X-- and ++X like that. Python has eval too but doesn't have X-- operation for some reason so yea wtf

  • @khoaanh7375
    @khoaanh7375 Рік тому +1

    bro just speedrun my entire month

  • @arel027
    @arel027 Рік тому +1

    thefuq this dude insane

  • @nskybytskyi
    @nskybytskyi Рік тому +1

    Top Competitive Programmer getting rate-limited by LeetCode at 5:15

  • @I_m_the_light
    @I_m_the_light Рік тому

    speed run medium please please please

  • @vornamenachname594
    @vornamenachname594 Рік тому

    But in interviews they won't let you use those methods.

  • @capedbaldy123
    @capedbaldy123 Рік тому +1

    I'm first time here, taught you were a girl 😳😳 then comes your voice 😳😳 lol.... Nice content BTW

  • @johnapple3471
    @johnapple3471 5 місяців тому

    this guy is actually jesus. thanks sir!

  • @nikuzair3178
    @nikuzair3178 Рік тому

    great content! maybe you can invest some equipments and be a part-time youtuber ✌️

  • @Avighna
    @Avighna 13 днів тому

    3:25 imagine not knowing about std::partial_sum smh

  • @itz_me_imraan02
    @itz_me_imraan02 Рік тому +3

    Bro upload short CP concept videos...i think it will be more helpful...

  • @happyhacker4737
    @happyhacker4737 Рік тому

    I think you can slay more if you do each with Python. You will have to write a lot less code.

  • @iTehkillerx
    @iTehkillerx Рік тому

    Speed run the grind 75 problems

  • @joydeepdas4105
    @joydeepdas4105 Рік тому +1

    NEXT TIME 70+MEDIUM QUESTIONS IN 1 HOUR

    • @hi-tk4hu
      @hi-tk4hu Рік тому +1

      this is a challenge bro

  • @haionepiece
    @haionepiece 11 місяців тому

    OH

  • @LeagueJeffreyG
    @LeagueJeffreyG Рік тому +2

    why don't you just get paid 400k a year because you're so talented bro hahahaha

  • @gabbar1867
    @gabbar1867 Рік тому

    big fan please like

  • @HARSHPIPAL
    @HARSHPIPAL Рік тому

    fast!...

  • @mariachrysafis6452
    @mariachrysafis6452 Рік тому

    btw what's your LeetCode handle?

  • @tedchirvasiu
    @tedchirvasiu Рік тому

    You got 6,666 views atm, bro

  • @cykablyat867
    @cykablyat867 Рік тому

    CLEAN THOSE GLASSES

  • @rajesh-kaipa
    @rajesh-kaipa Рік тому

    ok, looks like you got a MAANG interview and preparing while making videos.

  • @pranavJha93
    @pranavJha93 7 місяців тому

    😭😭😭

  • @macratak
    @macratak Рік тому

    nice lol

  • @12amrishasingh76
    @12amrishasingh76 Рік тому

    out of context....but sir why are u so gorgeous?

  • @utkarshdubey2433
    @utkarshdubey2433 Рік тому

    i did not solve single question in 20 min😂😂😂😂

  • @shady41
    @shady41 Рік тому +2

    clean your glasses

  • @adamhardy4632
    @adamhardy4632 Рік тому

    Dhoka!!!!!!!!!
    bahi mujhe laga tu ladki par ladka nikal mera dil tut gaya ..💔💔💔💔💔💔

  • @gunahawk6893
    @gunahawk6893 Рік тому

    Dude doesn't how to use max in python and still destroyed leetcode easy ones using python, bruh continue in python more it's easily readable

  • @kuldeepdahiya1449
    @kuldeepdahiya1449 Рік тому

    1st view

  • @Ihavetoreturnsomevideotapes
    @Ihavetoreturnsomevideotapes Рік тому +4

    What are your pronouns?

  • @kunalsanjaybutiya5944
    @kunalsanjaybutiya5944 Рік тому +3

    You are boy or girl

  • @prakharsrivastava6644
    @prakharsrivastava6644 Рік тому +1

    I am unsubscribing. Although, it would not affect your sub count because the content you have started to make recently is designed to attract subs. My reason is now this is not the same channel it used to be. I can go onto the extent that you were one of the early influences that made me pick us cp as a sports.

    • @user-he4st2ro5h
      @user-he4st2ro5h Рік тому +1

      Bb, won’t be missed. All indian are s hit

    • @tearnfourstar
      @tearnfourstar Рік тому +1

      Cool story!

    • @Nnm26
      @Nnm26 Рік тому +1

      Wow crazy bro

    • @horizon204
      @horizon204 Рік тому +1

      No one cares, never seen a competitive programmer become highly successful (except for the founder of Quora if I remember correctly), successful individuals in Tech do not have time for Competitive programming. It is a waste of time, rarely does it have practical applications, and never is a new algorithm invented by a competitive programmer. Plenty of the channels targeting competitive programming as their main content have bitterly failed. They may gain loads of attention at first, but always rapidly decline thereafter in terms of followers. There are simply too few demands in this field, not many care about competitive programming, all they care about is to somehow pass the FANG interview question. And medium Leetcode questions are enough for them to do the task in most cases. If he want to become a successful influencer, targeting interview questions is the smartest move. Even in the case where sharing his competitive knowledge is his passion, that passion would eventually fade away as no one cares about it. There must be something that motivates him to keep going, either attention or money. If he's got neither, obviously he's gone the wrong way, it's time for him to make a new move