My Competitive Programming Journey (and how to practice)

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 253

  • @aaronmei1630
    @aaronmei1630 4 роки тому +203

    Congrats on lGM! Very well deserved.

  • @danielkoynov5627
    @danielkoynov5627 4 роки тому +142

    Damn when he said fix your sleep schedule I realized I was watching this at 1 am. I'll definitely try to work on that.

  • @sohammukherjee8079
    @sohammukherjee8079 4 роки тому +57

    Congrats on IGM and 7*,en exceptional achievement at that age of yours as any sane person would reckon!
    A big thank you for the explanatory videos, wishing you good luck for the future, and looking forward to learning much more from you!

    • @dhruv78888
      @dhruv78888 3 роки тому

      What is his age in approx..

    • @harshupadhyay4393
      @harshupadhyay4393 3 роки тому +2

      @@dhruv78888 he's first year college students, so not more than 20 ig

    • @orewaluffy1374
      @orewaluffy1374 2 роки тому +1

      Lol he is 18 😂

  • @ayushvarshney6321
    @ayushvarshney6321 4 роки тому +125

    Really impressive journey and I'm sure this will inspire many more to follow in your steps. Congrats on IGM and 7 star (in such a short time too) and I wish you all the best for the future!

  • @ankitpandey4602
    @ankitpandey4602 4 роки тому +14

    Well you cleared doubts of thousands of students in a mere 28 minutes of time. Thanks a lot, Colin.

  • @denjellboone8812
    @denjellboone8812 4 роки тому +38

    Nice video Colin. I think it is good to see that the way was not as easy as it seemed when looking at your ratings. I personally liked the part on how you coped with failure the most. Respect on putting in this much effort in your early years. I spend my highschool time on a lot of really useless stuff :-)

  • @vishalchaurasia3386
    @vishalchaurasia3386 4 роки тому +13

    Your Journey to Competitive Programming is quiet motivating 😚😚. You work hard to get what you want.

  • @sv67cb
    @sv67cb 4 роки тому +21

    You should definitely consider doing more videos like this. Thank you for this and congrats on getting to IGM.

  • @dineshbs6635
    @dineshbs6635 4 роки тому +7

    Wow, thats great Colin. Congrats on the IGM!

  • @qlf9_
    @qlf9_ 4 роки тому +39

    colin orz
    legit though this is a really good video that I think will help cpers of all levels improve :)
    (congrats on IGM!)

  • @achintyaeeshan3069
    @achintyaeeshan3069 4 роки тому +6

    Amazing video Colin, waiting for this since so long

  • @abhaypatil2000
    @abhaypatil2000 4 роки тому +23

    18 hours and already the most watched video on your channel

    • @ColinGalen
      @ColinGalen  4 роки тому +15

      Yep, this is the first time I've actually tried to play the youtube algorithm

  • @stretch8390
    @stretch8390 5 місяців тому +1

    Only getting the test case is a real vibe, love it.

  • @OscarRendon
    @OscarRendon 3 роки тому +6

    Loved this kind of content, really honest and encouraging! 💪
    Not too much is being said about ranking stress, failures, and discouraging contest results. Usually, red coders seem like ppl from another world with just higher IQ, and it might be true for some, but can also be a mindset trap to avoid keep trying after failure!

  • @anmol_tomer
    @anmol_tomer 4 роки тому +3

    Really great advice, I think sleeping schedule thing was my favourite, because I noticed that as well, due to lockdown we have online classes so I get more time to sleep and these days I really feel great while giving a contest when I've had proper sleep. Please continue to make videos like these. Really great content. 🙌🏻🙌🏻

  • @336_saranyamaity8
    @336_saranyamaity8 3 роки тому +1

    0:56 you have right to make this video because you are one of the legends who has proved himself to be worthy of giving knowledge

  • @sobieso
    @sobieso 4 роки тому +21

    orz ur my biggest inspiration ily kekw

  • @danielwu624
    @danielwu624 4 роки тому +27

    Dang, I'm going to need to do a lot more ;gitgud.

  • @suvidsinghal1365
    @suvidsinghal1365 4 роки тому +4

    Was eagerly waiting for it :)

  • @DreaMagnifier
    @DreaMagnifier 4 роки тому +3

    I think sometimes motivation is great better than on contest because it boost up and gives the answer why he not me, which we can't learn from giving contest

  • @chandanagrawal3283
    @chandanagrawal3283 4 роки тому +4

    Congrats 🎊 , u always help me even in some very dumb questions really thankful and inspirational.❤️🙏

  • @sadhunarun7430
    @sadhunarun7430 4 роки тому +4

    waited for this video so long bro..

  • @kevinmiao226
    @kevinmiao226 3 роки тому +1

    Thanks, Colin. your video really helps me fix my concerns about competitive programming. Keep up the good work!

  • @manjunathvasam4981
    @manjunathvasam4981 4 роки тому +4

    Was waiting for something like this

  • @imranif3899
    @imranif3899 4 роки тому +3

    That was really encouraging. Applause for reaching IGM too.

  • @peihu3201
    @peihu3201 4 роки тому +2

    thank you @Colin Galen this helped very much, I will continue on with usaco and be a better CPer!!! :)

  • @kesarkiran5265
    @kesarkiran5265 4 роки тому +1

    Thanks a lot for the initiative!!

  • @pacha2880
    @pacha2880 4 роки тому +5

    "fix tour sleeping schedule", I really need to do that

  • @harshanadendla5873
    @harshanadendla5873 4 роки тому +18

    hey man, please take out some time and do some practice-tips oriented videos.

  • @stars-hx1oe
    @stars-hx1oe 4 роки тому +5

    So you heard about it from your friends and you beat your friends :)

  • @miraszarpullayev9150
    @miraszarpullayev9150 3 роки тому

    That's really inspiring, just started my own journey thanks to you :)

  • @manjunathvasam4981
    @manjunathvasam4981 4 роки тому +3

    Please do more of this type of videos

  • @mohdshoaibcs0717
    @mohdshoaibcs0717 4 роки тому +2

    thank u for the video brother, it really really inspires me alot

  • @kongzilla2897
    @kongzilla2897 4 роки тому +2

    Motivational !! yayy you have gained a new subscriber : )

  • @SouravendraKrishnaDeb
    @SouravendraKrishnaDeb 4 роки тому

    Congrats dude!

  • @НиколайДомашенко-э4ш

    Hey, thanks. You inspired me to dive into competitive programming. The thing is I have 2 chances of participating at IOI, I'm currently 1201 rating on Codechef after 8 days of practice (250> ploblems solved). Started 02.06.22

    • @nahrafe
      @nahrafe 2 роки тому

      Seems like youre on a good path! Good luck with your journey mate!

    • @НиколайДомашенко-э4ш
      @НиколайДомашенко-э4ш 2 роки тому

      @@nahrafe Hey, thanks! I've made a lot of progress over the past 4 months. I hit 1760 (Codechef) rating yesterday. And I have become confident solving hard problems with rating above 2000 during contests. I am so close to 4* and I am planning on getting 5* by the end of 2022

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

      ​@@НиколайДомашенко-э4ш Any update mate

  • @hussienmoustafa3668
    @hussienmoustafa3668 4 роки тому +12

    what is your advice for a beginner .. Do i have to start usaco training or continue with codeforces / atcoder ... I want to improve my rating in codeforces and skills in competetive programming... I have been solving codeforces and atcoder problems for more than a year but there is no progress in my rating and i am still stuck at newbie

    • @ColinGalen
      @ColinGalen  4 роки тому +10

      I suppose, if what you've been doing hasn't been working, then it can't hurt to try something new, right? I think USACO training is amazing because it forces you to adopt the learning mentality.

    • @jimothyus
      @jimothyus 4 роки тому +7

      Well competitive programing needs 2 things 1.Ability to problem solve 2. Knowledge of algorithms and patterns since you have been doing codeforces you probably already have some grasp on the 2nd part which means you probably need to improve your ability to think and solve problems. How do you do that? I dont know really what the best way is but im sure google knows!

    • @cydrus2856
      @cydrus2856 4 роки тому +6

      @@jimothyus I just started to read a book called "Think like a programmer" maybe it can help him since I also have a hard time solving problems.

  • @PrashantChauhan-nn4zn
    @PrashantChauhan-nn4zn 9 місяців тому +1

    very motivating journey 😊😊....

  • @hardikawasthi6210
    @hardikawasthi6210 4 роки тому

    An informative video. Will love to watch more of such videos...

  • @shubhampokhriyal8491
    @shubhampokhriyal8491 4 роки тому +5

    Awesome galen

  • @dunghuynhtien7153
    @dunghuynhtien7153 4 роки тому +10

    Could you share with us your schedule ? (In the morning, you started practicing when ..., how many problems ..., how long to think on 1 problem ..., in the afternoon, evening, ..., sleep how many hours ...) Thanks!

    • @ColinGalen
      @ColinGalen  4 роки тому +18

      It wasn't really a rigorous schedule. I just did normal stuff, went to school, (tried to) swiftly finish homework, and when I had free time, I would spend it thinking on whatever problem I was currently stuck on. Sleep was relatively normal, went to bed around 11-12 PM.
      Typically I would try to think on a single problem until I felt completely tired of it - not just stuck, but so lost that I felt that any more time spent would just be a waste, and this often only happened after multiple days.

    • @dunghuynhtien7153
      @dunghuynhtien7153 4 роки тому +5

      @@ColinGalen Competitive programming is really for you I think ! Wish you luck and get LGM along the journey .

  • @SurajSingh-pb4bs
    @SurajSingh-pb4bs 4 роки тому +20

    Very informative, I'd just like to ask how would you say your math was when you first started with competitive programming?

    • @ColinGalen
      @ColinGalen  4 роки тому +28

      The only math experience I had was school math, so probably weak

  • @satishprajapati1684
    @satishprajapati1684 3 роки тому +2

    reaching red in 2 yrs from scratch is just insaneeeee

    • @orewaluffy1374
      @orewaluffy1374 2 роки тому +4

      I did that in 4 months 😂

    • @nextlevel7270
      @nextlevel7270 2 роки тому +2

      @@orewaluffy1374 can you share your journey from beginning ?

    • @user-en5vj6vr2u
      @user-en5vj6vr2u 11 місяців тому

      Not even two years. Un fucking fair 😭

  • @GoldenLion5648
    @GoldenLion5648 4 роки тому +4

    What exactly were the problems that you cheesed and how did you cheese them at 8:15? Awesome video, very inspirational!

    • @ColinGalen
      @ColinGalen  4 роки тому +3

      Silver p2 and gold p2 from this year: www.usaco.org/current/index.php?page=open19results
      Silver was squeezing an unintended O(n^2) solution past the weak test cases
      Gold was using an unintended math solution (that was actually very easy for them to counteract, had they known it) for what was supposed to be finding a minimum spanning tree

  • @riteshrastogi5388
    @riteshrastogi5388 4 роки тому +3

    You also spoke about practicing on Atcoder, as it has those AdHoc Problems, which generally helps in improving the thinking ability. But, how did you practice over there? What I mean to ask is, that I think we cannot sort the AtCoder Problems in some difficulty order, or solved count. So, could you please throw some light upon that as well.

    • @ColinGalen
      @ColinGalen  4 роки тому +5

      Ah. Thank you, that's something I should have mentioned (and will now be in the video's description). There's this cool site called kenkoooo which basically lets you do exactly what you mentioned. Here it is: kenkoooo.com/atcoder#/table/

  • @TheMsnitish
    @TheMsnitish 3 роки тому

    Indian views skyrocketing. Thanks for making this video man.

  • @humphreyxu5007
    @humphreyxu5007 4 роки тому +7

    Colin, I was wondering if you came from any type of math olympiads or math contests before USACO? thanks

    • @ColinGalen
      @ColinGalen  4 роки тому +4

      Nope, I actually hated competitive math when young

    • @krishshah3974
      @krishshah3974 3 роки тому

      @@ColinGalen lol

  • @kishorenalluri7703
    @kishorenalluri7703 4 роки тому +5

    Do more of these

  • @mridulkumar786
    @mridulkumar786 4 роки тому +4

    We all want to see you LGM soon :-)

  • @shrayammitra6447
    @shrayammitra6447 4 роки тому +3

    Wish you get MLE soon 😄, thanks vm for the video

  • @NamanCodes
    @NamanCodes 2 роки тому

    This guy is a legend

  • @danitorres124
    @danitorres124 4 роки тому +3

    That was a pretty good path for that period of time, congrats mate!
    The things that I hope to workout from here are
    *Fixing my sleep time
    *Doing contests and upsolving or at least try to understeand what the thought for that problem was
    *Find the sweet spot to practice, not too easy, not too hard
    Let's see what happens :D

  • @AnmolGera2
    @AnmolGera2 4 роки тому +4

    Can you put together all the questions? If possible and the type of questions you did?

  • @Arcvx
    @Arcvx 4 роки тому +4

    Would it be fine to use the USACO site/USACO training portal strictly for practicing and not be hassled into their competitions and all the other stuff? I’m mainly looking into competitive programming as an outlet to brush up my coding skills while having something to occupy myself in college.

    • @ColinGalen
      @ColinGalen  4 роки тому +2

      Yeah, their competitions are totally not required. In fact, their problems are usually available around a week after each contest, so you'll still have access to them even if you don't do the contest live.

  • @anunaysharma2718
    @anunaysharma2718 4 роки тому +8

    When do you think a person should start participating in contests oncodeforces?

    • @ColinGalen
      @ColinGalen  4 роки тому +13

      I think, as soon as you can start. Contests help you know the exact type of things you have to solve/know, and the more you do, the better your mentality about them will be.

    • @Arcvx
      @Arcvx 4 роки тому +1

      Wtf, how are you verified with only 72 subscribers?

  • @rahul.s7
    @rahul.s7 4 роки тому +3

    It took me 6 months to reach 6 star on cc and 1840 on CF and don't see any progress for the last 2 months, or actually falling on CF, how do I get a progress, please suggest and help.

    • @ColinGalen
      @ColinGalen  4 роки тому +3

      I was also high blue for a while. You probably aren't stuck, it's just a difficult place to get out of. Most likely, try to fix any mistakes you've been making lately, keep practicing the way that got you to this current point (mixing in new concepts if necessary), and you'll probably break this wall in time.

  • @adhoc3018
    @adhoc3018 3 роки тому +2

    Very impressive.

  • @vibhusharma5374
    @vibhusharma5374 4 роки тому +5

    what are the learning sources you used during your whole journey

  • @Throwingwater42
    @Throwingwater42 14 днів тому

    I just assumed since i was a casual programmer that there had to be competitive.

  • @kroozcastro9636
    @kroozcastro9636 4 роки тому +3

    Awesome!!!!

  • @chandantyagix
    @chandantyagix 4 роки тому +1

    I strongly feel You should update your mic. Thankyou

  • @faizan346
    @faizan346 4 роки тому +2

    7 a.m and now i am going to sleep

  • @cydrus2856
    @cydrus2856 4 роки тому +3

    I guess the next step is 100k subs on youtube!

  • @GuzunVeaceslav
    @GuzunVeaceslav 4 роки тому +2

    Great video

  • @skyveil
    @skyveil 3 роки тому +1

    Well the flex came like flex box. You know what I am sayin

  • @akashpratapsingh3553
    @akashpratapsingh3553 4 роки тому +2

    That's so great man but can you please make at a list of all algorithms and data structure which are useful in competitive programming and all other topics which can help other noob programmers.

    • @ColinGalen
      @ColinGalen  4 роки тому +4

      That's what USACO training is for. And to be honest, for beginners, it's so much more about practicing general problem solving than learning specific concepts. So such a list isn't really necessary.

    • @akashpratapsingh3553
      @akashpratapsingh3553 4 роки тому

      @@ColinGalen thanks alot mate. I really appreciate it.😊

  • @DevChannel-b4i
    @DevChannel-b4i 3 місяці тому

    Hello, so it took you about 2 years to reach red on codeforces, could you please tell how many hours you would typically spend each day on practice?

  • @himanshugupta7647
    @himanshugupta7647 4 роки тому +1

    Is 5 months enough to get 1600 my current rating is just 800

  • @agnimandur7911
    @agnimandur7911 4 роки тому +4

    Hey Colin I "liked" this video once with my main account and once with this account :)
    Next step LGM I guess.

  • @shashankgupta29
    @shashankgupta29 4 роки тому +1

    I was just about to start and i found this ❤️

    • @nishansingh77
      @nishansingh77 4 роки тому +1

      Look who I found!!

    • @shashankgupta29
      @shashankgupta29 4 роки тому

      @@nishansingh77 Waiting for A tutorial on "How to Become CM on CF in 6 months " from you.😂

  • @udayverma6120
    @udayverma6120 4 роки тому +1

    Hey Colin, how much time did you practice on an average during those two years?
    Also, where did you cover data structures from?

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

    The expert in anything was once a beginner ~ Helen Hayes

  • @gladwinrojer273
    @gladwinrojer273 4 роки тому +3

    Congratulations on your IGM. Can you tell me what is your age? Are you a student?

    • @ColinGalen
      @ColinGalen  4 роки тому +1

      17, and yes, in high school (before university)

    • @anthonysummit3098
      @anthonysummit3098 4 роки тому +1

      @@ColinGalen Jesus Christ man, I am 22 and just switched to comp sci from business, I thought you'd be at least 20

  • @nishithbaravkar7549
    @nishithbaravkar7549 3 роки тому

    Thanks a lot colin for the guidance

  • @rajatnagpure7445
    @rajatnagpure7445 4 роки тому

    We want more coming!

  • @MohitYadav-yv2rw
    @MohitYadav-yv2rw 4 роки тому

    All the best for LGM!

  • @jeffzhang4852
    @jeffzhang4852 3 роки тому

    As a UMD student, all you MoCo kids are CS gods. Us HoCo kids cannot compete :(

  • @hashtagYSK
    @hashtagYSK 4 роки тому +2

    Hey colin can you make a video about how to master dynamic programming

  • @ujalamaurya292
    @ujalamaurya292 3 роки тому +1

    How did you learn dsa so perfectly....can you suggest plzzzzzzzzzzz

  • @nandansharma6844
    @nandansharma6844 4 роки тому

    Really helped me a lot brother

  • @asifanwarsajid8332
    @asifanwarsajid8332 4 роки тому +2

    Great guideline for newbies like me!! Can you tell me one thing! How and from where you used fo learn new concepts and master them! Please clear me. I'm stuck at same stage for last 2/3 months. Just solving codeforces Div 2 A, B. Hardly the C problem. I'm not getting any idea about how to learn new data structures/algorithms and implement them.

    • @ColinGalen
      @ColinGalen  4 роки тому +2

      USACO Training (as I mentioned) has most of the necessary things for beginners, and with that basis, it'll make it easier to learn more advanced things.

    • @asifanwarsajid8332
      @asifanwarsajid8332 4 роки тому +1

      @@ColinGalen I have already started practicing on USACO training. Completed few ad hoc problems(section-1.1, 1.2). Now solving Complete Search(Section-1.3) problems. But here only I can find is problems with few short introductions on those concepts. I still couldn't find any tutorials/resources on USACO training. :(

    • @ColinGalen
      @ColinGalen  4 роки тому +2

      @@asifanwarsajid8332 The later chapters (e.g. 2) have articles and problems on more advanced topics. The beginning section is designed for people new to CP to get them used to problem solving in general.

    • @asifanwarsajid8332
      @asifanwarsajid8332 4 роки тому +1

      @@ColinGalen ok!! Thanks a ton. Waiting for you upcoming videos! 💖:D

  • @AbhishekKumar-hj4qo
    @AbhishekKumar-hj4qo 4 роки тому +4

    I want to know your age ???? 👨🏻‍💻🧠🙋‍♂️
    Are you in school or in college??? Please reply.... 🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺

  • @jittojoyes7533
    @jittojoyes7533 4 роки тому

    Would you recommend usaco for a beginner. Like i was doing codeforces and i still remain as a newbie and i did work hard, but was not consistent enough. Now I feel like i messed up everything can u suggest me what to do next?

  • @VY-zt3ph
    @VY-zt3ph 2 роки тому

    DO you have the question list which you did on CodeForces over the time like from noob to masters??

  • @the_humble_lazy
    @the_humble_lazy 3 роки тому +1

    yeah do this kiindaa videos too

  • @notvoidz
    @notvoidz 4 роки тому +2

    great vid =D

  • @sumedhvangara7368
    @sumedhvangara7368 4 роки тому +2

    hello do you have any advice on one-trick problems?

    • @ColinGalen
      @ColinGalen  4 роки тому

      I guess for those you'll have to just know the trick and be able to apply it (if I understand you correctly), so having a strong and broad conceptual basis should make that easy most of the time.

  • @mathdude1613
    @mathdude1613 4 роки тому +2

    Nice vid!

  • @wox5922
    @wox5922 4 роки тому +3

    YAAAAAAAY

  • @elijah1626
    @elijah1626 4 роки тому +9

    Quite informative, I hope to one day have even 1/10th of your brain mass

  • @josephpark2093
    @josephpark2093 4 роки тому

    Does USACO training still work? I registered for it and it just won't let me in.

  • @pulkitgupta8575
    @pulkitgupta8575 4 роки тому +3

    Can u suggest me some problemset? I am a candidate master (2000+)

    • @ColinGalen
      @ColinGalen  4 роки тому +5

      Depends on your current capabilities. I would recommend working on everything you're currently weak on (conceptually) then trying to improve ad-hoc/thinking skills more.

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

    How many hours a day did you practice. I really like to know

  • @Garentei
    @Garentei 4 роки тому +2

    How can I improve my thinking ability? I know flows, segment trees, treaps, etc... But sometimes I just get stuck on a simple ad-hoc one-liner because I'm so used to "blindly applying data structures and algorithms" as you said :(

    • @ColinGalen
      @ColinGalen  4 роки тому +2

      It's about practicing the problems that force you to solve them without being able to apply any concepts - e.g. adhoc (codeforces A-C generally), constructive, interactive problems

    • @Garentei
      @Garentei 4 роки тому +1

      @@ColinGalen Then I guess I need to participate in CF rounds for those ad-hoc and greedy problems (really bad at those). :)

  • @prakash_77
    @prakash_77 3 роки тому

    Great video! Any update on USACO/IOI plans for this year?

  • @sharathnair1702
    @sharathnair1702 4 роки тому +3

    Dude that's really great! I've been practicing a lot and finally reached cm a contest back. Can you recommend anything useful, or any experience that might be useful to remember beyond this point

    • @ColinGalen
      @ColinGalen  4 роки тому +1

      I think you're doing great, and whatever you've been doing to get this far will probably still work for a while. If you feel stuck, you can always try switching it up (e.g. to different platform), just because it can be kind of refreshing.

  • @sumedhvangara7368
    @sumedhvangara7368 4 роки тому

    also do you have any advice on knowing when to move on to a higher level of problems? Like ik that I shud solve problems until ik how to do that level but how many problems should I do until ik I am done with that level?

  • @rajgondalia1471
    @rajgondalia1471 4 роки тому

    Great video! Can you give advice on what to practice, I am stuck on 1700-1800 on codeforces for nearly about 3 months. I am practicing problems of around 1900-2000 in codeforces what else should I do?

  • @IMdAbdulquadirKhan
    @IMdAbdulquadirKhan 4 роки тому +4

    I thought it was
    2600years

  • @abhinav4279_
    @abhinav4279_ 3 роки тому

    It would be nice if you share your thought process of upsolving and ways you consider important to improve this process.