2nd Place in Google Kickstart 2020 G with keyboard-cam and commentary

Sdílet
Vložit
  • čas přidán 3. 06. 2024
  • Screencast of Google Kickstart 2020 Round G with commentary on problems and contest strategy. Solving the hardest problem in 5 minutes sometimes isn't enough to win.
    Contest link: codingcompetitions.withgoogle...
    I'm streaming regularly on Twitch now! Coding interview problems on Thursday, and Competitive Programming on Tuesday & Saturday. / errichto
    0:00 - A (statement)
    0:33 - strategy
    1:16 - A (solution)
    3:11 - B
    4:49 - submit
    5:12 - C
    10:35 - C (solution)
    15:36 - debugging
    16:12 - C (solution)
    18:17 - cheering for past Kamil
    20:50 - submit
    21:22 - D
    26:00 - results
    28:11 - William Lin
    - second YT channel for screencasts and old live-streams: / errichto2
    - FB and Twitter: / errichto & / errichto
    - Frequently Asked Questions: github.com/Errichto/youtube/w...

Komentáře • 325

  • @soruzein2988
    @soruzein2988 Před 3 lety +101

    This is so interesting that 2 guy who finish at the first place and second place in Google Kickstart is recording him self for CZcams. Both of you and William Lin is an insane guyy

  • @29saiharsha
    @29saiharsha Před 3 lety +379

    i love this style of video and ur video quality has gone up so much i appreciate the content!

    • @Errichto
      @Errichto  Před 3 lety +38

      Thank you :)

    • @sahilsharma2952
      @sahilsharma2952 Před 3 lety +1

      Yes... Really helpful .

    • @mosesmuchemi7221
      @mosesmuchemi7221 Před 3 lety

      this was supposed to be an easy problem.. umm .. okay

    • @raynei
      @raynei Před 3 lety +1

      @@mosesmuchemi7221 lol what
      did you expect anything easy when it had "google" in it's name

    • @chiranjeevishankarn7904
      @chiranjeevishankarn7904 Před rokem +1

      @@mosesmuchemi7221 Dude! hahaha :D ... Loved ya sarcasm ... but
      Errichto is so cool as a coder, don't you think so?

  • @achintyaeeshan3069
    @achintyaeeshan3069 Před 3 lety +17

    Congrats Errichto, this format is just amazing!

  • @vishnusingh4118
    @vishnusingh4118 Před 3 lety +2

    WOW! Amazing Editing! I can't even imagine the amount of effort it must have taken you! But you aced it! This is so helpful and extremely well done video. Thank you for all your efforts Errichto! More power to you and your channel man!

  • @rogerm4a1
    @rogerm4a1 Před 3 lety +1

    As someone who is still very new to programming I get so overwhelmed watching you perform these challenges that you make look so easy! Motivating to be quite honest.

  • @SantoshKumar-nc7uw
    @SantoshKumar-nc7uw Před 3 lety

    Congrats Errichto for 2nd position... whenever I participate in any contest , first come to your videos to look to your solutions and your approach...you have been a motivation for me since beginning of my cp journey...keep uploading these kind of videos...thanks

  • @cydrus2856
    @cydrus2856 Před 3 lety +1

    I love the new contents! It was the first time I seen keyboard-cam in a competitive programming video :D

  • @cwagnello
    @cwagnello Před 3 lety

    Explaining your thought process is the best. Very few coding question CZcamsr's actually spend the time explaining how to arrive at the solution and not just handwaving and then writing code.

  • @so7am96
    @so7am96 Před 3 lety

    lovely format, errichto! very concise not wasting time and even explaining while past you approaches the problems, very organised and the ending was the cherry on top xDD
    Keep it up!

  • @systemflaws
    @systemflaws Před 3 lety +44

    This was my first contest. I got the 2813 rank. I was waiting for the solution. I applied the brute force approach and then optimize it. Thanks!

  • @nitinpandey7478
    @nitinpandey7478 Před 3 lety

    This format of video is pretty good, Thanks @Errichto.

  • @crayolaksh
    @crayolaksh Před 3 lety +1

    Love this style of screencast+commentary!

  • @akshitmangotra5370
    @akshitmangotra5370 Před 3 lety

    loved this style of eleborating the things and congrats for the second position

  • @thelittleguysfight1741

    Congrats man! I'm still starting for your algo lectures, but am excited for your win

  • @gaurav7656
    @gaurav7656 Před 3 lety +1

    Errichto is a better guide than any other.
    Good to walk with you through the solution thank you.

  • @AdityaSharma-fp3de
    @AdityaSharma-fp3de Před 3 lety +32

    It's hilarious when he says "Kamil from the competition" like he's talking about his alter ego.

  • @pranshukashyap6848
    @pranshukashyap6848 Před 3 lety

    Congratulations Errichto for 2nd Place!! and Thanks for the Editorials..

  • @PiyushKumarPorwal
    @PiyushKumarPorwal Před 3 lety +14

    Errichto is on fire 🔥 He's best Competitive Programmer with Best explanation.. way better than many paid websites 🤭😁
    May you exist forever to this world! ♥️

  • @aryanbhatia6992
    @aryanbhatia6992 Před 3 lety +1

    This video was so good and your explanations were very clear , please do more videos like this

  • @tejasaditya551
    @tejasaditya551 Před 3 lety

    errichto this format of facing camera towards keyboard and commenetary with problem solving later is very good because earlier there didn't seemed any point of seeing two faces simultaneously..

  • @kartaLaLa
    @kartaLaLa Před 3 lety

    It is great to see you and william compete with each other!!, nice video

  • @sharathnair1702
    @sharathnair1702 Před 3 lety

    Your solution to last problem is soo amazing!

  • @albelayet1510
    @albelayet1510 Před 3 lety

    Really You're great Man! I don't understand as Like as you do but Still Watching Your contest. I impressed Your Coding Style Your Speed and Also Your Talent

  • @XFaramir
    @XFaramir Před 3 lety

    Nice to know how your mind works to solve those issues. Nice content.

  • @lonaya7255
    @lonaya7255 Před 3 lety

    I started cp a few month ago and these video insights are very helpful for my understanding. Big thanks errichto. Great video as always!
    Btw it's a little bit scary how addicting cp is

    • @raynei
      @raynei Před 3 lety

      lol yeah
      the satisfaction after getting a accepted solution is addicting

  • @yaosongding1479
    @yaosongding1479 Před 3 lety

    Keyboard cam is so rare on youtube. Love it!

  • @OG_Scratch
    @OG_Scratch Před 3 lety

    I like how you posted all the videos even though you didn't win the contest. Winning is cool but is not about the winning is about the process that everyone wants to see.

  • @nigeltan7766
    @nigeltan7766 Před 3 lety +1

    Thank you for the educational content! Really helps newbies like me hahaha. I still dont know how exactly to solve problems C and D but i will look at this video a few more time!

  • @ChandraShekhar-by3cd
    @ChandraShekhar-by3cd Před 3 lety

    Loved the Keyboard Integration with the video + commentry++.. :)

  • @alimsayleb9510
    @alimsayleb9510 Před 3 lety +6

    Errichto is my favorite competitive programmer, even if he got 2nd place, at least he doesn't say "Oh i'm depressed because i've only won 3 out 7 kick starts this year :(". Great spirit from Errichto, beautiful content and great explanation. Thank you for your videos and congratulations for acing the google kick start round G

    • @tapaskumarbilash8239
      @tapaskumarbilash8239 Před 3 lety +1

      Ohh are you referring to some William lim.. he's a genius.

    • @BarkaDog
      @BarkaDog Před 3 lety

      Yeah that's just a too Asian thing to say.

  • @abhinavraut3099
    @abhinavraut3099 Před 3 lety

    Really love this format!!!

  • @matheusdallrosa4698
    @matheusdallrosa4698 Před 3 lety +145

    Me during contest: Thinking 2h 25min about C and getting 3 WA.
    Errichto: Didn't think more than 5 seconds.

    • @amandarash135
      @amandarash135 Před 3 lety +7

      It's mean you solved A and B in 35 min.

    • @Errichto
      @Errichto  Před 3 lety +136

      tbh, I spent a lot of time implementing. It was just obvious to me at the very beginning how I can approach this problem because I saw similar problems before. So maybe you're better than me by solving it from scratch.

    • @amandarash135
      @amandarash135 Před 3 lety +3

      @@Errichto yes you are right it's just only about solving more problems , then you would became like him ;)

    • @matheusdallrosa4698
      @matheusdallrosa4698 Před 3 lety +4

      @@Errichto During the contest i tried to ternary search a point P that would minimize the cost, but because of the wrap around (only because of it i think) it didn't work. I think that the key point was to notice that the best point is already present on the input, after having that information i was able to make a O(N log N) solution.

    • @karmellammy4773
      @karmellammy4773 Před 3 lety +12

      @Cartsanov thats never gonna happen for you bud. Trust me

  • @Programmity
    @Programmity Před 3 lety +1

    Much appreciated work following your videos :)

  • @qruick321
    @qruick321 Před 3 lety +1

    Kamilu, jesteś najlepszym hakerem jakiego poznałem w Polsce! Życzę ci samych sukcesów, a twój talent jest na wysokim poziomie!

  • @mixItUp454
    @mixItUp454 Před 3 lety

    Hats off for your last problem probability solution 🔥🔥.

  • @coastaldemigod
    @coastaldemigod Před 3 lety +4

    I had solved the 3rd qn earlier in codechef long challenge , but couldn't remember it during this contest 🙂. The editorial was very nice

  • @bhanusharma658
    @bhanusharma658 Před 3 lety

    great video and nice format btw

  • @acedia8399
    @acedia8399 Před 3 lety

    Mad respect from Russia! Happy New Year!

  • @sameerbamnaha2189
    @sameerbamnaha2189 Před 3 lety +1

    Congratulations!!

  • @Satyam_singh18
    @Satyam_singh18 Před 3 lety +2

    You both are legend for me

  • @akhilgunti7540
    @akhilgunti7540 Před 3 lety

    Congrats man!!🔥

  • @jamess3159
    @jamess3159 Před 3 lety

    What the.... And just when I thought I was getting good at coding LOL. Great stuff man!!

  • @SohelRana-hi7ec
    @SohelRana-hi7ec Před 3 lety

    Congrats Errictho.

  • @astridbrenner2957
    @astridbrenner2957 Před 3 lety +4

    It's just satisfying, watching at a guy who is coding fast

  • @ayaz.unstoppable
    @ayaz.unstoppable Před 3 lety

    Bro actually m from india and really like ur style solving and u r really a good competitive programmer i follow u to learn to code

  • @pinakipb2
    @pinakipb2 Před 3 lety

    loved the keyboard-cam

  • @shanmukhavarma3361
    @shanmukhavarma3361 Před 3 lety

    Finally I could get some idea on problem c thank you man

  • @abdurrahaman388
    @abdurrahaman388 Před 3 lety

    This type of videos are much better ❤️

  • @meenameiss
    @meenameiss Před 3 lety

    This is great editing, take my like

  • @nihalk3935
    @nihalk3935 Před 3 lety

    Love the style of video 🔥🔥🔥😍😍😍

  • @ChelGaming
    @ChelGaming Před 3 lety +2

    I dont do competitive coding but this video is motivational for my coding habit

  • @yuanzhang9744
    @yuanzhang9744 Před 3 lety +1

    I love the keyboard-cam so I can see why cp programmer can type so quickly XD

  • @rushik1663
    @rushik1663 Před 3 lety

    Loved you video 🙏and respect.

  • @kaladinium7337
    @kaladinium7337 Před 3 lety +4

    Errichto's a cool dude

  • @vishalbhatane1608
    @vishalbhatane1608 Před 3 lety +1

    Thank you very much !

  • @satishshingade8514
    @satishshingade8514 Před 3 lety

    it is very interesting to watch at the same time learn thanku so much

  • @md.shahnewazsiddiquelabib1467

    hi errichto, love your videos! watching you code encourages me to code more! Could you please make a video explaining your debug template? It seems really handy but I don't know how to use it or how it actually works. It would be very helpful for many of us if you explain it! Thand you! :)

  • @endeavored
    @endeavored Před 3 lety

    Even though I don't understand anything just watching this is so fun

  • @yousefibrahim8862
    @yousefibrahim8862 Před 3 lety +174

    I don't understand anything I am just intrigued.

  • @gaganbarman6604
    @gaganbarman6604 Před 3 lety +1

    William Lin is a genius 😱😱

  • @pedrobernardo5449
    @pedrobernardo5449 Před 3 lety +1

    Hey man, I am new on the programing world and I am trying to learn. Can you explain what does a terminal does and why you are always checking Guake. Thankyou

  • @kevinrojas7665
    @kevinrojas7665 Před 3 lety

    Can you make a video going more in depth on your contest set up! Loved the video!

  • @mahmoudabdelsattar8860

    i enjoy it so much

  • @marufhasan9365
    @marufhasan9365 Před 3 lety +1

    Keyboard cam for the win!!!

  • @aydin_ugur
    @aydin_ugur Před 3 lety

    Congrats man.

  • @bhargavpratimsharma2024

    I'm happy to see him Programming in *C* , as I'm learning it too as my first Programming language.

  • @emanuel0723
    @emanuel0723 Před 3 lety

    Great video, congrats on the 2nd place!! Question, what's the software used to write/draw in the black screen? and what kind of pencil or stylus works good for it?

  • @Pltkk
    @Pltkk Před 3 lety +1

    O kurde, jestem w szoku! Nie wiedziałem że polakiem jesteś xD

  • @FreeConqueror
    @FreeConqueror Před 3 lety

    it was really educational thanks

  • @cynerboy1650
    @cynerboy1650 Před 3 lety

    Thank you for show your keyboard

  • @azurnxo2134
    @azurnxo2134 Před 3 lety +2

    Can you link your keyboard? I had the same one gifted to me lol

  • @vikash_7541
    @vikash_7541 Před 3 lety

    Very informative 👍👍👍

  • @matheuscosta5330
    @matheuscosta5330 Před 3 lety

    Nice one Eri!

  • @smallchungus9729
    @smallchungus9729 Před 3 lety +2

    can someone tell me what keyboard is that? it sounds amazing

  • @ansrhl9448
    @ansrhl9448 Před 3 lety

    Hey errichto, do you think you can cover some stuff on approximation algorithms ?? Great Content as always btw !!

  • @konohamaruchan7459
    @konohamaruchan7459 Před 3 lety

    At 4:23 isn't it row 3 ,column 1 or can rows and columns be interchanged which I guess doesn't change outcome??

  • @alansosa2841
    @alansosa2841 Před 3 lety +1

    Hey man, I love your videos, and I really want to begin in competitive programming, I'm 18 years old, I'm not bad at maths, but what kind of maths should I know? Thanks in advance

  • @RiteshYadav-vm9tb
    @RiteshYadav-vm9tb Před 3 lety

    Superb 🎉🎉🎉

  • @kebabthegreat369
    @kebabthegreat369 Před 3 lety +21

    At 10:02, you say the complexity of your problem C solution you achieve is O(N) and not O(N log N), however sorting the vector will surely cause your solution to run in O(N log N), no? Thanks for the quick uploads btw :)

    • @Errichto
      @Errichto  Před 3 lety +28

      You're right! I forgot that the input isn't sorted. It is O(N*log(N)) or could be O(sqrt(C) + N) with radix sort.

    • @jiahaoyao4653
      @jiahaoyao4653 Před 3 lety

      @@Errichto I thought the sort for the length of elements (say W), so the complexity is O(WlogW +N)

    • @simba187
      @simba187 Před 3 lety

      Kardesim yakiyorsun

    • @yonnelx2539
      @yonnelx2539 Před 3 lety

      @@simba187 wtf

  • @bryanurizar
    @bryanurizar Před 3 lety

    Where can you practice typing but with special characters? I can type 115 wpm but I’m way slower when I program because the special character’s.

  • @gasparzjhones7570
    @gasparzjhones7570 Před 3 lety

    you are my hero

  • @neinist
    @neinist Před 3 lety +3

    Do you have some custom keboard settings? I find myself pressing shift more often to change numbers to symbols. Is there anyway to change the default?

  • @Sksahu_123
    @Sksahu_123 Před 3 lety

    Congrats

  • @Ziggy0120
    @Ziggy0120 Před 3 lety +1

    everytime I see pros like this I feel inadequate about my own skills. I need to practice lol

  • @realAgitated
    @realAgitated Před 3 lety +22

    I wonder if errichto ever worked as a janitor for colleges, solving random mathematical problems on the chalkboards in the hallway.

    • @OnlyUseMeEquip
      @OnlyUseMeEquip Před 3 lety +8

      lol how many people get the reference

    • @Errichto
      @Errichto  Před 3 lety +56

      Yup, I used to solve unsolvable math problems anonymously as a janitor. But that was before I was sentenced to get therapy.

    • @uziboozy4540
      @uziboozy4540 Před 3 lety +3

      Haha love that reference

    • @Make-Asylums-Great-Again
      @Make-Asylums-Great-Again Před 3 lety +2

      How do you like them apples?

    • @azurnxo2134
      @azurnxo2134 Před 3 lety

      @@Errichto What reference? Lol

  • @zorkgami4726
    @zorkgami4726 Před 3 lety

    Thanks

  • @defyteryt2452
    @defyteryt2452 Před 3 lety

    good job keep it up

  • @indiansoftwareengineer4899

    Nice video man,
    can I ask you personal question, where do you work and why not in FAANG?
    or do you have own company or business related to Coding?

  • @vishi8178
    @vishi8178 Před 3 lety

    Blisko było
    Graty wielkie i tak

  • @JesseLH88
    @JesseLH88 Před 3 lety

    Bah, I was there. But I ended up narrowly missing the last problem (part D).
    My first submission ended up (narrowly) TLE on test 3. So I had to spend another 15 mins optimizing using the harmonic series. It looks like the simple approach you used, O(elements * dividers) worked using C++. I was using python.

  • @raghavkarthikeyan2014
    @raghavkarthikeyan2014 Před 3 lety

    How have you changed the theme in Geany IDE?

  • @tusharverma2514
    @tusharverma2514 Před 3 lety +1

    How to participate in Google kick-start competition?

  • @harshmunda6854
    @harshmunda6854 Před 3 lety +2

    His typing is lit 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @iliyas1155
    @iliyas1155 Před 3 lety

    Great video - love the format!
    P.S.
    At 9:59, you said that your complexity is O(N), but you're doing "sort" in the beginning, so it's O(N*logN)
    But that's not very important

    • @Errichto
      @Errichto  Před 3 lety +3

      Yup, someone has already pointed this out in comments before. It's O(N*log(N)) because of sort.

  • @edwin8062
    @edwin8062 Před 3 lety +11

    In question 2, I used recursion and he did it in a more optimized way. My code passed just because the constraints were weak. Difference between noob and pro coder.

    • @Errichto
      @Errichto  Před 3 lety +16

      You should get AC by using as simple solution as possible. If your solution is indeed simpler than mine, you made a better choice because you saved some implementation time.

  • @shaziasamreen8584
    @shaziasamreen8584 Před 3 lety

    Can you please provide your code link for C and D

  • @jamesmaddison1072
    @jamesmaddison1072 Před 3 lety +2

    I got the O(n^3) approach where we define 2 random variables X1, X2.
    Where X1 is the sum accumulated by merging [L, i] to a single element
    Where X2 is the sum accumulated by merging [i + 1, R] to a single element
    So the answer would be a another random variable X = X1 + X2 + v[i] + v[i + 1]
    And By law of expectations : E[X] = E[X1] + E[X2] + v[i] + v[i + 1].
    However I did not get why your approach works, can you share the mathematical steps/rules/laws you used to get to the result.

  • @atypical3800
    @atypical3800 Před 3 lety

    zajebiscie kamil jestem dumny

  • @abcefg7045
    @abcefg7045 Před 2 lety

    Hii, as I beginner from where should I start my preparation for kickstart??

  • @bossyull4647
    @bossyull4647 Před 3 lety

    Smooth odo 😳