Leetcode Biweekly #56 (2nd Place)

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

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

  • @limakbear7029
    @limakbear7029 3 года назад +57

    *0:00** Count Square Sum Triples*
    *0:46** Nearest Exit from Maze*
    *4:56** Sum Game*
    *10:09** Minimum Cost to Reach Destination*

  • @Froparadu
    @Froparadu 3 года назад +12

    Holy shit! I just watched you solve the second problem and already learnt 2 new things -
    1. Using dx and dy as against using modulo to figure out the directions.
    2. Using vector as a queue in C++
    It’s these small things that make a difference in competitive programming I guess.

  • @alphabeta1428
    @alphabeta1428 3 года назад +37

    Thanks for sharing your solutions. It’s great to see you participating in LC contests and helping folks out. Hoping you will keep up the good work by participating in future contests.

  • @jimmie8101
    @jimmie8101 3 года назад +15

    "You have attempted to run to soon. Please try again later."
    lmao bruh..

  • @josephwong2832
    @josephwong2832 3 года назад +12

    Errichto is motivating me to start the weekly LC contest now haha

  • @miloradowicz
    @miloradowicz 3 года назад +44

    Couldn't solve the fourth problem for straight two months. Didn't even occur to me to iterate through all possible starting time values.
    Also, amazing coding speed.

    • @zdravkobeykov
      @zdravkobeykov 3 года назад

      How 2 months when it's 3 weeks old?

    • @miloradowicz
      @miloradowicz 3 года назад +6

      @@zdravkobeykov it was a similar problem from ICPC drills. The only difference was that routes cost various amounts of currency, and you had to find the quickest route that was within the given budget.

    • @cydrus2856
      @cydrus2856 3 года назад

      Pog

  • @sahil.rajput2000
    @sahil.rajput2000 3 года назад +12

    Loved this screencast

  • @haoxu5533
    @haoxu5533 3 года назад +6

    My python solution for Q4 is exactly same algorithm as you, however, it gets TLE.

  • @PleaseTellMeMoreJust4Fun
    @PleaseTellMeMoreJust4Fun 3 года назад

    Nie mogłam uwierzyć, że jesteś z Polski!
    Bardzo ciekawe wywiady, rozwiązania zadań algorytmicznych
    Podziwiam! :)

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

    I really love your coding style.

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

    Bylo blisko...i tak jestes najlepszy ;))

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

    I graduated as a computer engineer and i've only done a few problems in the past 4 years because i was forced to focus on different disciplines in my university. How long will it take to get me back in shape.
    btw im new to this channel and my competitive programming skill is potato.

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

    man Sum game was so confusing. I had no idea how to even start

  • @krishnakumarr2121
    @krishnakumarr2121 3 года назад +4

    I think all people who practices more get to solve problems faster..... That why I always see frequent names in the top 20 list..... It's really that recognizing patterns in the problem fast......! 👍🏻

  • @limakbear7029
    @limakbear7029 3 года назад +6

    🧸 love keyboard cam

  • @progamerzzz1237
    @progamerzzz1237 3 года назад +3

    god gifted him with extraordinary intelligence but forgot to add the portion for remembering youtube passwords.

    • @limakbear7029
      @limakbear7029 3 года назад +1

      He already said in a stream that after a stream on the second channel he is taking break in this month.

    • @progamerzzz1237
      @progamerzzz1237 3 года назад +1

      @@limakbear7029 ohh I didn’t know that

  • @focus15624
    @focus15624 3 года назад +1

    Is CP book Competitive Programming 4 by Steven Halim any help?

  • @babasandasi3006
    @babasandasi3006 3 года назад +11

    which keyboard is that and what is you typing speed??

    • @Errichto
      @Errichto  3 года назад +15

      100+ WPM, logitech ultrax premium (an old keyboard, not produced anymore)

    • @ankitmajee
      @ankitmajee 3 года назад

      @@Errichto very fast

    • @lutfiikbalmajid3128
      @lutfiikbalmajid3128 3 года назад

      @@ankitmajee yep, it is very fast, because typing while thinking

  • @ericcannon6096
    @ericcannon6096 3 года назад

    Hey Errichto, do you only do training for people in high level competitions or do you train lower level competitors also?

  • @17teacmrocks
    @17teacmrocks 3 года назад +1

    @Errichto, can Q2 be solved recursively ?

  • @piyusheklavya
    @piyusheklavya 3 года назад

    Please make a video on topological sort and also on TRIE

  • @angkhoavo6305
    @angkhoavo6305 3 года назад

    thanks for the solution , it was very great :D

  • @chetanmishra1662
    @chetanmishra1662 3 года назад

    Youre a god bro i saw your rating on leetcode please make that kind of video

  • @lequocthinh8992
    @lequocthinh8992 3 года назад +1

    Thank you!

  • @mdshahadatkabir8329
    @mdshahadatkabir8329 3 года назад

    Where r u sir? Can't see your video for so long

  • @angkhoavo6305
    @angkhoavo6305 3 года назад

    anh there codeforce will have a contest tonight , can you tell me when will the soltuion of the contest upload ?

  • @amitshah817
    @amitshah817 3 года назад

    Thank you friend ☺️

  • @TheHasanJr
    @TheHasanJr 3 года назад +1

    Love your videos.. Keep going. Btw would u like to go to FAANG?

  • @yishayhaz
    @yishayhaz 3 года назад

    He's typing faster than I can think

  • @oyeshpatel8791
    @oyeshpatel8791 3 года назад +4

    In just 16 min😵😵

  • @Dennis-Ong
    @Dennis-Ong 3 года назад +1

    Hi Eric , love these short vids. What keyboard are you using? Nvm saw your answer below

    • @limakbear7029
      @limakbear7029 3 года назад

      You can read his FAQ

    • @kurdicodes9167
      @kurdicodes9167 3 года назад

      Where can i find that faq i really need the name of that keyboard @limak bear

    • @kurdicodes9167
      @kurdicodes9167 3 года назад

      @@limakbear7029 where can i find his faq i really need the name that keyboard

    • @Eddie-um6cw
      @Eddie-um6cw 2 года назад

      @@kurdicodes9167 yeah where @@

  • @skyveil
    @skyveil 3 года назад

    @Errichto why have you not posted any videos recently

  • @sinify6676
    @sinify6676 3 года назад

    Python TLE for the first problem with the exact same code lol, had to change mine to precalculate the possible c**2 values in a set instead (not before losing 5min from penalty though). Also, q3 was so hard for me to figure out during the contest.

    • @kameshkotwani
      @kameshkotwani 3 года назад +3

      That's why c++ and java are preferred, Python is slow, for exact same logic it takes considerable amount to execute.

    • @sinify6676
      @sinify6676 3 года назад +4

      @@kameshkotwani On codeforces, yes. But they tune the time limits relative to the langauge on leetcode (not always perfectly). Generally any solution with optimal runtime complexity will pass in any language on the site.

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

      @@kameshkotwani your name sounds indian and japanese

  • @aakashvishwakarma4653
    @aakashvishwakarma4653 3 года назад

    Best book for recursion ??

  • @Minerva6699
    @Minerva6699 3 года назад

    You really love coming in second place, Great job though

  • @kobopanda2476
    @kobopanda2476 3 года назад

    how much time did you spend a day solving problems to be a red coder?

  • @manfr3d1
    @manfr3d1 3 года назад

    Great video

  • @mohammedwaseem8599
    @mohammedwaseem8599 3 года назад

    In which company you work??

  • @ishaanbhimwal
    @ishaanbhimwal 3 года назад

    Which distro??

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

    This is so satisfying :)

    • @anjalirani1796
      @anjalirani1796 3 года назад

      ruclips.net/video/UlJi2U6yYmQ/видео.html for the august leetcode challenge, you can follow this

  • @GL-info1
    @GL-info1 3 года назад

    bro, do you have method about recover winRAR zip files password ?

  • @mdkamruzzaman7174
    @mdkamruzzaman7174 3 года назад

    How you compile the code

  • @driziiD
    @driziiD 3 года назад

    question 3 sounds like minimax

  • @vv-sx4xs
    @vv-sx4xs 3 года назад

    Dude, who finish first??

  • @प्रेमानंद-वृंदावन

    Loved this

  • @criptik5208
    @criptik5208 3 года назад +1

    Are you on instagram ?

  • @aryann3045
    @aryann3045 3 года назад +1

    In the second question, is there any reason why you used vector of pairs instead of a queue ?

  • @焱-u5c
    @焱-u5c 3 года назад

    Errichto my idol!!!!!!!!!!!!

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

    Legend ❤

  • @Displant
    @Displant 3 года назад

    nice errichto

  • @sabbirhasan3372
    @sabbirhasan3372 3 года назад

    Plz make a video about IOI. Plz sir❤️.

  • @blackboxbs8642
    @blackboxbs8642 3 года назад

    Dont you find it annoying to use mouse while typing. What if we could control without mouse. Mouse is great but when you are too much into typing handling mouse breaks your flow.

  • @progamerzzz1237
    @progamerzzz1237 3 года назад

    Hey man.. you can always change your password if you have forgotten it. If u need a tutorial ping me. But please upload

  • @cya3mdirl158
    @cya3mdirl158 3 года назад

    Na szczęście w pracy nie potrzeba takich problemów rozwiązywać.

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

    except programming, what have you learned to solve problems that fast ?

  • @Dineshkumar-wj8so
    @Dineshkumar-wj8so 3 года назад +3

    Wizard

  • @nachos3626
    @nachos3626 3 года назад

    u use linux?

    • @limakbear7029
      @limakbear7029 3 года назад

      Yes, he is comfortable using Linux (Ubuntu) he also use Windows, because it's convenient to stream.

  • @justworkfine321
    @justworkfine321 3 года назад

    Anybody had attend errichto classes?

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

    No entiendo que dices xd, pero me gustan tus videos, nuevo sub bro :D

  • @gritadorsemdestino77
    @gritadorsemdestino77 3 года назад +1

    i ask myself how are you so good at programming with only less than 2k problems in codeforces

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

      He did a lot of Math problems and that too for years

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

      He solved on different platforms duh, TCO was pretty big pre-2018

  • @arab2aljaafary72
    @arab2aljaafary72 3 года назад

    U'r awesome🌸

  • @sabbirhasan3372
    @sabbirhasan3372 3 года назад

    I am 17 years old.I want be good at competitive programming. Please give me some suggestions.

    • @limakbear7029
      @limakbear7029 3 года назад +4

      Solve problems, you can watch his "how to start with competitive programming" video.

    • @Magmatic91
      @Magmatic91 3 года назад

      High IQ

    • @sabbirhasan3372
      @sabbirhasan3372 3 года назад

      What are you meaning by high iq

    • @faizan346
      @faizan346 3 года назад +1

      If you know hindi i can recommend you a good channel to start with

    • @faizan346
      @faizan346 3 года назад

      @@sabbirhasan3372 and once you start never stop. atleast do one ques even if you are very busy. Being consistent is the key.

  • @mdshahadatkabir8329
    @mdshahadatkabir8329 3 года назад

    After so long first comment love from love ur videos please do make regularly

  • @هلالمجيد-ظ3ك
    @هلالمجيد-ظ3ك 3 года назад

    اكو عرب بالطيارة ؟

  • @張三-k7c
    @張三-k7c 3 года назад

    U R SO SMART!!!

  • @rajaspaunikar9695
    @rajaspaunikar9695 3 года назад

    Not even looking at the keyboard

  • @defini7
    @defini7 3 года назад

    0:02 3 hands???????

  • @dumbfailurekms
    @dumbfailurekms 3 года назад

    RIP?
    eyy nvm hes on twitch

  • @LORDGULSHAN
    @LORDGULSHAN 3 года назад +1

    Imagine getting a reply from Erricto 🙂

  • @gamer9x
    @gamer9x 3 года назад +1

    Please, the way to reverse engineer and hack android apk!

  • @abhishekanand1895
    @abhishekanand1895 3 года назад

    I love you brother

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

    Why you do so much competitive coding the things you know and how your brains works is more more more more than enough for the best best best company in the worlld 😂😂

  • @redix7964
    @redix7964 3 года назад

    Witam

  • @ahmedaymanelsayed4904
    @ahmedaymanelsayed4904 3 года назад

    Anyone please help me 🥰🥰🥰🥰
    If I want to be expert at c++ and participate in large tournaments what is the full tree or what should I learn from basics to expert and how long does it takes for me and thanks 🥰🥰🥰🥰

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

    Why don't you start a series for DSA 😕😕

  • @babasandasi3006
    @babasandasi3006 3 года назад

    fourth

  • @Dbjsbs
    @Dbjsbs 3 года назад

    First view 😁

  • @unblockedfilms8785
    @unblockedfilms8785 3 года назад

    Hai Sir Can You Help my faceboook

  • @khz2172
    @khz2172 3 года назад

    1st view