Winning LeetCode Weekly Contest 198

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 190

  • @insideentrepreneur7904
    @insideentrepreneur7904 4 ปีที่แล้ว +388

    If this guy took 35 mins for completing this contest, I guess I will need a year.

    • @dotaking82
      @dotaking82 4 ปีที่แล้ว +9

      And eventually you will give up!

    • @MindIsLikeFullMoonInFall
      @MindIsLikeFullMoonInFall 4 ปีที่แล้ว +1

      He actually only used 25 mins AND winning the contest =D

    • @MrOsefosef
      @MrOsefosef 4 ปีที่แล้ว +6

      jesus these comments are cringe

    • @MrOsefosef
      @MrOsefosef 4 ปีที่แล้ว +7

      what about you try to get to his level instead of satirely mocking him?

    • @MrOsefosef
      @MrOsefosef 4 ปีที่แล้ว +4

      ​@Dawit_K Most the comments alienate him like he's not a human person, add to this the excessive boring sarcasm and you end up with a group of people pointing fingers at a very talented person.

  • @JohnCena963852
    @JohnCena963852 4 ปีที่แล้ว +282

    You submitted it while I was still trying to read the question. How cruel.

    • @proudnepali9297
      @proudnepali9297 4 ปีที่แล้ว +2

      Let's learn together

    • @在港陆人看世界
      @在港陆人看世界 4 ปีที่แล้ว +9

      Shit..He is reading fast..Did he even spend anytime thinking? It seems like he just know the solution right after reading the question

    • @pavanxb
      @pavanxb 3 ปีที่แล้ว

      Lmao, same

    • @WebDevAnjali
      @WebDevAnjali 3 หลายเดือนก่อน

      guess i didn;t even bother to read the question cuz i already got demotivated by his speed of solving question .....i was like what are u even doing n he submitted multiple answers by then

  • @josephmyers2133
    @josephmyers2133 4 ปีที่แล้ว +119

    When I saw him coding, I was trying to figure out how to play the video at normal speed

  • @sankhadiprang7179
    @sankhadiprang7179 4 ปีที่แล้ว +30

    Aside from being able to code like that...I think i'll need the same time in which he is solving each problem to think the name of a single varible

  • @justdrewit911
    @justdrewit911 4 ปีที่แล้ว +32

    Give him another year and hes going to be a robot.

  • @atharvajadhav8598
    @atharvajadhav8598 4 ปีที่แล้ว +56

    ik i was f**ked up when i saw special forces take 35 mins to solve everything 😢😂

  • @Warner1138
    @Warner1138 4 ปีที่แล้ว +52

    I thought they nerfed you in the last update

    • @ITSH4WK
      @ITSH4WK 4 ปีที่แล้ว

      😂😂😂

  • @minakshikudalkar557
    @minakshikudalkar557 4 ปีที่แล้ว +29

    OMG OMG Congratulations!! This contest was really tough

    • @Hrk25s
      @Hrk25s 4 ปีที่แล้ว +1

      Yea

    • @NolanAtlas
      @NolanAtlas 4 ปีที่แล้ว

      was my first one 😬🤣

    • @rohanpawar2436
      @rohanpawar2436 6 หลายเดือนก่อน

      hey, you are marathi right ?

  • @edafade
    @edafade 4 ปีที่แล้ว +13

    I don't know jack about coding, but I still watch these. Very interesting!

  • @WilliamYFeng
    @WilliamYFeng 4 ปีที่แล้ว +38

    Congratulations! This one was harder than usual. I used segment tree on problem 3 (way overkill) :P

    • @shameekagarwal4872
      @shameekagarwal4872 4 ปีที่แล้ว

      can u pls share ur approach using seg tree?

    • @WilliamYFeng
      @WilliamYFeng 4 ปีที่แล้ว

      @@shameekagarwal4872 ​Yeah, I'll be making a video about the contest this week.

  • @ballchang8286
    @ballchang8286 4 ปีที่แล้ว +29

    I got 2 scores in this contest...

  • @charlesdomain9196
    @charlesdomain9196 4 ปีที่แล้ว +23

    Imagine if he had a second monitor...

    • @LeetcodeUser
      @LeetcodeUser 3 ปีที่แล้ว

      IMAGINE HE HAS HIS MONITOR TILTED 🔥

  • @memporium240
    @memporium240 4 ปีที่แล้ว +26

    i just looked at this
    i got 2 prob lol

  • @RikardoAHP
    @RikardoAHP 4 ปีที่แล้ว +3

    By the noise it seems he is writing a lot but only 3 letters appear in the screen

  • @manncodes
    @manncodes 4 ปีที่แล้ว +24

    Is that violin playing in the background?

  • @anshumans1174
    @anshumans1174 4 ปีที่แล้ว +29

    My first contest lol, didn’t do that well 😖

  • @codewithkolhar3131
    @codewithkolhar3131 4 ปีที่แล้ว +9

    He types faster than he thinks.

  • @VigneshDhakshinamoorthy
    @VigneshDhakshinamoorthy 4 ปีที่แล้ว +1

    @0:52 Runs the code, switches to next tab. Does not even want to waste 2 seconds to see the answer.

  • @devdaily2129
    @devdaily2129 4 ปีที่แล้ว +2

    Dang, you be thinking fast af boi! Congrats

  • @dantefalls2156
    @dantefalls2156 4 ปีที่แล้ว +3

    "Okay so, let's start with the answer..." Nice

  • @zachgillette4272
    @zachgillette4272 4 ปีที่แล้ว +4

    What is your trick for reading the problem so fast? U hardly looked at the first problem before writing your solution so what are you looking for in the problem? Love ur videos btw

  • @aoxiangcui7566
    @aoxiangcui7566 4 ปีที่แล้ว +10

    congrats!

  • @rafaelluisdasilva3504
    @rafaelluisdasilva3504 3 ปีที่แล้ว

    Wins coding competition while somebody plays the Bagpipes in the background.
    Meanwhile, I forget what I was doing when my cat meows.

  • @Analogue-India
    @Analogue-India 4 ปีที่แล้ว +10

    I am curious, do you do any projects (web, app, ml) along with competitive coding ??

    • @MrOsefosef
      @MrOsefosef 4 ปีที่แล้ว +2

      websites and apps definetely won't make you better at coding, so I doubt he makes any.

    • @aarondawson655
      @aarondawson655 4 ปีที่แล้ว +2

      @@MrOsefosef personally I've learned nearly everything I know about coding from building apps, websites, and other projects but to each their own I guess.

    • @YeetYeetYe
      @YeetYeetYe 2 ปีที่แล้ว +2

      @@MrOsefosef Depends how you define coding. Websites and apps will make you a much better engineer than competitive programming will, especially if you collaborate with other people while building those apps.

  • @tulikamishra9708
    @tulikamishra9708 4 ปีที่แล้ว +1

    hey could you do the dp contest of atcoder ..theres really few editorials for them and i'm having a hard time

  • @ewaszostok6464
    @ewaszostok6464 4 ปีที่แล้ว +14

    Congratulations! Watching you inspired me to start learning c++, which Im really enjoying, so thank you!
    cout

  • @ezizhummedov3607
    @ezizhummedov3607 4 ปีที่แล้ว +2

    I have a question William. Do you use the shift key while you're typing? Would you please make a detailed video about fast typing. PLEASE!!!

    • @Paralativ
      @Paralativ 4 ปีที่แล้ว

      Yeah, not specially the fast typing, but the fast use of all bracket-versions and more...
      It would be a total pleasure if he would show us his skill-work :)

  • @ashishjain871
    @ashishjain871 4 ปีที่แล้ว +1

    Thanks for posting the video. Appreciated.

  • @tylerxiao2656
    @tylerxiao2656 4 ปีที่แล้ว +1

    What about the Div 3 Codeforces contest last week?

  • @rafiqarsyad9348
    @rafiqarsyad9348 4 ปีที่แล้ว +83

    this guy needs to banned from all contest, too op

    • @Mircoludist
      @Mircoludist 4 ปีที่แล้ว +5

      Overpowered main character 😭😭

    • @apache6038
      @apache6038 4 ปีที่แล้ว +1

      looks like overlord.

    • @brandonnguyen160
      @brandonnguyen160 4 ปีที่แล้ว +6

      God hasn’t come out with the new patch notes yet so it might be a while. Balance changes are unlikely though.

    • @rubbertooth8170
      @rubbertooth8170 4 ปีที่แล้ว +1

      This guys is only a high school student, wait till he gets his PHD in 2 years

  • @Starstrike21
    @Starstrike21 4 ปีที่แล้ว +1

    grats on the win!

  • @rasecbadguy5600
    @rasecbadguy5600 4 ปีที่แล้ว +3

    upload codeforces div2 too

  • @whitesalmon0925
    @whitesalmon0925 3 ปีที่แล้ว

    if it is not that I am somewhat familiar with leetcode, I would think you know the answer beforehand??? How the tell that you started code thru the solution when I was just about to finish reading the first sentence LOL??!! I feel so stupid :(

  • @pattern.exe1
    @pattern.exe1 4 ปีที่แล้ว +7

    ur insane jarvis

  • @devjeff3192
    @devjeff3192 4 ปีที่แล้ว +1

    What is the first programming language you have learned ?

  • @dilshadnajimi6955
    @dilshadnajimi6955 4 ปีที่แล้ว

    Hi William I have question about vim editor how you can make this for c++ coding and please say to me.

  • @orio6708
    @orio6708 4 ปีที่แล้ว

    Make some video for c++ basics to advance for beginners. We are interested to learn from you

  • @miteshkumar3183
    @miteshkumar3183 4 ปีที่แล้ว +3

    Woah congrats! Number 3 was really messy for me.

  • @wirrexx
    @wirrexx 4 ปีที่แล้ว

    Is there a website for people who are new to do problem solutions?

  • @randknutson5239
    @randknutson5239 4 ปีที่แล้ว +2

    Hey why didn't you upload the bi-weekly contest today? Those are always immensely useful even if you don't get first!! Still 1000x better than what I can ever do!

  • @amaanahmad7366
    @amaanahmad7366 4 ปีที่แล้ว +1

    Which keyboard are you using bro.

  • @aliashraf7937
    @aliashraf7937 4 ปีที่แล้ว +9

    This was vvv thrilling for me and am gone beat Topper in coming year...😇😎
    I am v passionate about it now...😋

    • @priyamraj122
      @priyamraj122 4 ปีที่แล้ว

      How many u solved this time?

    • @surajkekan6817
      @surajkekan6817 4 ปีที่แล้ว +1

      you do it one day bro ,just keep going on.......

    • @rocknroll7967
      @rocknroll7967 4 ปีที่แล้ว

      Topper XDDDDDDDDDD.

  • @luvu7158
    @luvu7158 4 ปีที่แล้ว +1

    MAN MAN MAN, what's font are u use in gvim?

  • @roshan84ya99
    @roshan84ya99 4 ปีที่แล้ว

    Please upload the video on hacker rath july circuit tooo after contest

  • @brianchen4331
    @brianchen4331 4 ปีที่แล้ว +7

    When it says 53 seconds ago... lol

  • @schulle36
    @schulle36 4 ปีที่แล้ว

    Is this working for Q1? :
    int ans = 0;
    while (numBottles >= numExchange) {
    ans += numExchange;
    numBottles -= numExchange - 1;
    }
    return ans + numBottles;

  • @daynight6120
    @daynight6120 3 ปีที่แล้ว +1

    4:43 👂
    👁 👁
    👄

  • @thelearner3962
    @thelearner3962 5 หลายเดือนก่อน

    Does anyone know what google theme he is using?

  • @manikandanprabhakaran7516
    @manikandanprabhakaran7516 4 ปีที่แล้ว +9

    He took more time 🙄🙄.. I think this contest was tougher than usual

  • @abhishekchaudhary2189
    @abhishekchaudhary2189 4 ปีที่แล้ว +2

    I got stuck at Question 3 and didn't bother to solve 4. 4 seemed pretty easy rather than 3! I thought i was the only one 😂

  • @ArunKumar-sg6jf
    @ArunKumar-sg6jf 4 ปีที่แล้ว

    where u learn coding give any idea or any resource

  • @adamsykes3792
    @adamsykes3792 4 ปีที่แล้ว

    why is their cello msuic in the backround

  • @eurotrucksimulator2217
    @eurotrucksimulator2217 4 ปีที่แล้ว

    How much time should you spend on a problem if you can't solve it within the first 20 or 30 minutes as a begginer?

  • @arsive02
    @arsive02 4 ปีที่แล้ว +8

    This guy is like the player in a battle royal who plays so good that we call him hacker.

  • @leun6768
    @leun6768 2 ปีที่แล้ว

    I can't even understand the damn problem

  • @fahrisetiawan5763
    @fahrisetiawan5763 4 ปีที่แล้ว

    How much prize u got from winning this contest?

  • @sumedhvangara7368
    @sumedhvangara7368 4 ปีที่แล้ว +1

    hey william is clrs good for cp?

  • @insideentrepreneur7904
    @insideentrepreneur7904 4 ปีที่แล้ว +6

    leetcode you just spoiled my sunday

    • @akhil3588
      @akhil3588 4 ปีที่แล้ว

      Mine 2 I submitted 2nd 1min late

    • @nithishkumarsaravanan4251
      @nithishkumarsaravanan4251 4 ปีที่แล้ว +1

      😂😂i was solving everything within 10 mins...later i came to kno i woke up at only 9:30 lol...

  • @ashishbarge4408
    @ashishbarge4408 4 ปีที่แล้ว

    Which compiler do you use?

  • @mukulbarai82
    @mukulbarai82 4 ปีที่แล้ว

    So, Sifi movies aren't lying.

  • @j.franciscox3318
    @j.franciscox3318 4 ปีที่แล้ว

    Could you share your vimrc?

  • @ugyensherpa6032
    @ugyensherpa6032 4 ปีที่แล้ว

    and i have no idea whats going on again

  • @farzankh
    @farzankh 4 ปีที่แล้ว +1

    Did you even read the first question?!!! It took me 20 min to figure out what it's asking for lol

  • @AkshayKumar-vv5dx
    @AkshayKumar-vv5dx 4 ปีที่แล้ว

    Advanced Algorithms Playlist
    stfly.me/5yEKy0
    (not fake just pass out the ads)

  • @mihu2cool
    @mihu2cool 4 ปีที่แล้ว

    Where is LeetCode Weekly Contest 199?

  • @balamukundam
    @balamukundam 4 ปีที่แล้ว +1

    why did he subtract lc in ans[node] = c[l[node]-'a]-lc; plz clear doubt

    • @balamukundam
      @balamukundam 4 ปีที่แล้ว

      @Williamlin plz help

    • @anon8857
      @anon8857 4 ปีที่แล้ว +1

      @@balamukundam lc is the frequency accumulated before diving into the subtree. So, we subtract lc to get frequency only belonging to the subtree.

  • @leonmozambique533
    @leonmozambique533 4 ปีที่แล้ว +3

    Why doesn’t he use dark mode

  • @romitchoudhary8348
    @romitchoudhary8348 4 ปีที่แล้ว +1

    which IDE you currently use??

  • @proudnepali9297
    @proudnepali9297 4 ปีที่แล้ว

    I am learning c++ how much it take me to be advance programmer

  • @madaraainna
    @madaraainna ปีที่แล้ว

    Don't understand shiet but imagine myself doing it.

  • @mayurchavhan8590
    @mayurchavhan8590 4 ปีที่แล้ว +4

    This guy winnings every tough competition like piece of cake,
    Inner me : i hate my life. JK keep it up man :)

  • @prashantthakur7589
    @prashantthakur7589 4 ปีที่แล้ว

    1 minute in his world is equivalent to 1 year in mine.

  • @exmachina3840
    @exmachina3840 4 ปีที่แล้ว +1

    Humans are amazing! Imagine an animal trying to solve this 😂

    • @t_tek760
      @t_tek760 3 ปีที่แล้ว

      😂

    • @psMens
      @psMens 2 ปีที่แล้ว

      C + v

  • @r.klaxman2026
    @r.klaxman2026 4 ปีที่แล้ว

    Can anyone explain me question 3..??

  • @mmck174
    @mmck174 4 ปีที่แล้ว +1

    dude my respects...i would probaly take a life time, actually i woudnt even try

  • @willacopta7551
    @willacopta7551 4 ปีที่แล้ว

    how old is this dude?

  • @udaysingh7748
    @udaysingh7748 4 ปีที่แล้ว

    William what is your age??

  • @ashwinjayaprakash7991
    @ashwinjayaprakash7991 4 ปีที่แล้ว

    The keyboard is asmr x1000

  • @kishorprasad3817
    @kishorprasad3817 4 ปีที่แล้ว

    Brother todays Biweekly contest ?

  • @optimizedpran1247
    @optimizedpran1247 4 ปีที่แล้ว

    This man is elite.

  • @gokul8747
    @gokul8747 4 ปีที่แล้ว +1

    I just asked this in the before the video but again :
    I am 13.can you make a video about step by step guide for a kid cp programmers.

    • @peepachu6605
      @peepachu6605 4 ปีที่แล้ว

      He already has one for beginning competitive programming.

  • @epicosenpai8418
    @epicosenpai8418 4 ปีที่แล้ว

    dude how tall ur

    • @madaraainna
      @madaraainna ปีที่แล้ว

      He is way above your league. He is God tier. You can't be his girlfriend.

  • @albertye527
    @albertye527 4 ปีที่แล้ว

    tmw you should show your silver play button

  • @leonmozambique533
    @leonmozambique533 4 ปีที่แล้ว +1

    he’s cracked af

  • @Jeff-df9ct
    @Jeff-df9ct 4 ปีที่แล้ว

    ELITE

  • @raaar1204
    @raaar1204 4 ปีที่แล้ว

    goat

  • @icet854
    @icet854 4 ปีที่แล้ว

    he type winning before it starts.....😂😂😂😂

  • @ozsingkit4206
    @ozsingkit4206 4 ปีที่แล้ว

    How to get like you man I'm asian too :)

  • @roshan84ya99
    @roshan84ya99 4 ปีที่แล้ว

    I used trie for 3rd got tle for sixteen cases 😅

  • @kazitazweed8405
    @kazitazweed8405 4 ปีที่แล้ว

    Totally understood every bit of code he wrote 😐😔

    • @harshraj-vt7dd
      @harshraj-vt7dd 4 ปีที่แล้ว

      Bro why did he insert ns.insert(a&arr[I]) in 4th ques

  • @viru2njoy
    @viru2njoy 4 ปีที่แล้ว

    Who are you Superman 👏

  • @_pluvio.phile_
    @_pluvio.phile_ 4 ปีที่แล้ว +1

    why are you not making videos on competitive programming tutorials?

  • @Leoplay101
    @Leoplay101 4 ปีที่แล้ว

    Briliant!

  • @cogitoergosum7945
    @cogitoergosum7945 4 ปีที่แล้ว

    Is it real that he reads the problem in less than 10 seconds?

  • @consistentthoughts826
    @consistentthoughts826 4 ปีที่แล้ว

    Only 2 problems solved in 30min remaining i watched a movie
    I know I can't😛

  • @ANANDKUMAR-jk9yp
    @ANANDKUMAR-jk9yp 4 ปีที่แล้ว

    Amazing guy!

  • @martinsdicis4000
    @martinsdicis4000 4 ปีที่แล้ว

    Wow, even you kind of struggled with the first problem while getting the conditions right!

    • @balamukundam
      @balamukundam 4 ปีที่แล้ว

      why did he subtract lc in ans[node] = c[l[node]-'a]-lc; plz clear doubt

  • @OwenWu-f9t
    @OwenWu-f9t 14 วันที่ผ่านมา

    you know in a real interview you wouldn't be doing this - you need to explain your thought process

  • @mohammedalqurashi7850
    @mohammedalqurashi7850 4 ปีที่แล้ว

    Excellent

  • @LuisMorales-yx8di
    @LuisMorales-yx8di 4 ปีที่แล้ว

    the first problem is a joke