I solved all 3025 problems on LeetCode. But you only need 150.

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

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

  • @siddhantv1
    @siddhantv1 Месяц назад +1

    To the point, no BS and no long intro.
    thanks so much

  • @user-be8ud2qd2d
    @user-be8ud2qd2d Месяц назад +5

    Thanks for the video! I was doing this problem the other day and couldn't solve it. As I was stuck trying to solve it and even when I was reading the solution I felt like I was wasting time that could be spent on solving other questions which could yield more results

    • @topswe
      @topswe  Месяц назад +2

      Yes, definitely the point I was trying to make. Everyone has a finite amount of time, it’s best to ensure it’s productive

    • @topswe
      @topswe  Месяц назад +1

      Glad it was helpful!

  • @PragyaSingh-of8zr
    @PragyaSingh-of8zr Месяц назад +2

    I've started my coding journey a month ago! will make sure to implement all your tips

  • @geniusinmaking
    @geniusinmaking 28 дней назад

    Great video!
    Sometimes medium problems can also have the optimal solution which are very difficult to understand for example the manacher's algorithm for the problem of finding longest palindromic string
    And I don't think they expect you to come up with it in a 45-min interview, so its better to also know sub-optimal approaches that are more intuitive, in this case dp

  • @Supakills101
    @Supakills101 Месяц назад +3

    Thanks, I am at a F500 right now and looking to crack tier-1 companies. Already solved Blind 75 and will try a contest this weekend!

    • @topswe
      @topswe  Месяц назад +1

      Best of luck! You’re on the right track :)

  • @NarutoHugsMikasa
    @NarutoHugsMikasa Месяц назад +1

    I directly started with leetcode 150 and after 1 month, i have solved only 31 of those 150. Point to be noted, im an extremely slow learner and also have attention deficit disorder probably

  • @anshdholakia714
    @anshdholakia714 Месяц назад +8

    I got fired last week from my job. I would rate myself decent at leetcode to the point where I can figure out the pattern. I am doing neetcode 150 atm thinking of starting off by sorting it based on topics. Lmk if u have any other tips. This video helps a lot btw

    • @topswe
      @topswe  Месяц назад +6

      @@anshdholakia714 sorry to hear that. Thanks for the kind words. I have a bunch of tips videos I think would be helpful. I’m sure things will be fine, just keep working hard! :)

  • @viewer1821
    @viewer1821 Месяц назад +3

    Dont put any bound on problem solving guys, what matters is pattern recognition

    • @topswe
      @topswe  Месяц назад +1

      Great advice! Yep

  • @freyappari
    @freyappari Месяц назад

    Honestly I'm more interested in how you went about solving all problems.

  • @vijethkashyap151
    @vijethkashyap151 Месяц назад +2

    I am really waiting for your KILLER Patterns series!! PLEASEEE!!!

    • @topswe
      @topswe  Месяц назад +2

      @@vijethkashyap151 what exactly are you looking for? :)

    • @vijethkashyap151
      @vijethkashyap151 Месяц назад

      @@topswe you had an article for Binary Search patterns. We want similar for DP pleaseeeeeee

    • @bwknowles98
      @bwknowles98 Месяц назад +1

      @@topswe A LeetCode pattern recognition for dummies would be nice.

    • @topswe
      @topswe  Месяц назад

      @@bwknowles98 do you mean, given a leetcode problem, how to identify what patterns will apply?

    • @bwknowles98
      @bwknowles98 Месяц назад +1

      @@topswe That would be fantastic. A lot of times, there's videos of what types of algorithms there are, but rarely a decent step by step of understanding that pattern alongside the code.

  • @ghun131
    @ghun131 Месяц назад +1

    I really appreciate your content. I'm applying your advices on my Leetcode journey. I have this question about Explore part of Leetcode. What topics do you think a beginner like me should follow?

    • @topswe
      @topswe  Месяц назад

      @@ghun131I should make a video on that! Ignore the system design, ML and Sql stuff. Tries, bit manipulation, dynamic programming are more advanced, but still important. I’d focus on the easier ones first like arrays, strings, hashing, queues and stacks, then trees, graphs, heaps, etc. glad you enjoy the channel!

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime Месяц назад +1

    nice! So did you eventually end up solving the median of 2 sorted arrays question without looking up the answer? All on your own?

    • @topswe
      @topswe  Месяц назад +2

      I learned the idea from the solutions and am now able to implement it. I think coming up with the idea yourself is difficult without hints

  • @sayansen0361
    @sayansen0361 Месяц назад

    Bro eats leetcode on breakfast

  • @lakhangarg5602
    @lakhangarg5602 Месяц назад +1

    i forget the pev question logic,what should i do??

  • @bishwashkumarsah171
    @bishwashkumarsah171 Месяц назад

    how many questions did you solve each day during start to intermediate.

  • @Annie-nx2og
    @Annie-nx2og Месяц назад +1

    I tried to do the median of two sorted arrays in leetcode when i just joined leetcode. I used python inbuilt functions to solve it but then i realized it was a hard problem without inbuilt functions. I don't know why leetcode accepted my solution with python inbuilt functions.

    • @topswe
      @topswe  Месяц назад

      Leetcode can’t tell what functions you use, it’s just evaluates if the test cases pass. Which inbuilt functions can solve this?

    • @Annie-nx2og
      @Annie-nx2og Месяц назад +1

      @@topswe python sort function where I concatenated the two arrays and then sort and then indexing

    • @topswe
      @topswe  Месяц назад

      @@Annie-nx2og I see. Yeah it will be accepted but you need an O(log(m+n)) time algorithm.

  • @Anonymous-om5ql
    @Anonymous-om5ql Месяц назад +3

    I was wondering that you have solved all the problems out there, yet your rating is so low, you'd be atleast a 3200+ rated imo.

    • @topswe
      @topswe  Месяц назад +1

      @@Anonymous-om5ql thanks! I haven’t don’t contests in a while, my true rating is higher

    • @tttakkkumi
      @tttakkkumi Месяц назад

      Have you done codeforces?

  • @lakhangarg5602
    @lakhangarg5602 Месяц назад +1

    i know array string hash map linked list only,so should i follow the 150 questions playlist or learn dp trees graphs first??

    • @phongtranquoc7557
      @phongtranquoc7557 Месяц назад +1

      Do both bro try to do those problems first then look up solutions if you still dont understand then you learn the underlying data structure they use thats how i do it

    • @lakhangarg5602
      @lakhangarg5602 Месяц назад +1

      Reply pls?????

    • @phongtranquoc7557
      @phongtranquoc7557 Месяц назад

      @@lakhangarg5602 yes?

  • @AhmedKhan-mz1nm
    @AhmedKhan-mz1nm Месяц назад +2

    How to get Knight on LC how many problems you think it takes to get there?

    • @topswe
      @topswe  Месяц назад

      At least 200 imo

    • @AhmedKhan-mz1nm
      @AhmedKhan-mz1nm Месяц назад

      @@topswe at 300 i am at 1400 how to improve to 1880 to get Knight?

  • @srijonp4
    @srijonp4 Месяц назад +1

    Why is the aspect ratio of your video like this ? What device do you use ?

    • @topswe
      @topswe  Месяц назад +1

      @@srijonp4 this is good feedback. I need to change it to 16:9. Thanks

  • @clatttheman3550
    @clatttheman3550 Месяц назад +2

    whats your linkedin or github ? :D

    • @topswe
      @topswe  Месяц назад

      I’ll make a community post for it, thanks!

  • @harshdiwan9283
    @harshdiwan9283 Месяц назад +1

    Is it okay to look at solutions within 5-10 mins if we are not able to think or solve question ? As most people recommends to try atleast for 30-45 mins

    • @topswe
      @topswe  Месяц назад +1

      @@harshdiwan9283 as a beginner, if you have no ideas, and you just don’t know the tricks or the techniques, whether you try to solve the problem in 5 minutes or 1 hour it’s not going to make any difference. It’s like solving a heap problem without knowing what a heap is.

    • @harshdiwan9283
      @harshdiwan9283 Месяц назад

      @@topswe Hi , I have one more question. I do often get a doubt that how to remember this much of approaches as 1 question can be solved in many ways and have brute, better and optimal approaches. Or my question is wrong?And sometimes it's frustrating for me to remember approaches

  • @anuragmandal7608
    @anuragmandal7608 Месяц назад

    from where can i find this list bro?

  • @rgolanng
    @rgolanng Месяц назад +2

    blud is waiting for leetcode 2

    • @topswe
      @topswe  Месяц назад +1

      Haha 😂😂

  • @energy-tunes
    @energy-tunes Месяц назад

    Honestly i think you padded your stats by putting solution instantly to all problems i simply dont thibk its possible to legitimately solve all 3k problems within like 2 years

    • @srihari_g
      @srihari_g Месяц назад +1

      Dude, he is trying to help, that is what you need to take away from this, if he cheats, he will not get hired and why does that matter.

    • @topswe
      @topswe  Месяц назад +1

      It took me over 3 years. I solved 2-3 problems on weekdays, and 10 problems on the weekend.

    • @topswe
      @topswe  Месяц назад +1

      Thanks for the support! 😀

  • @sagyr
    @sagyr Месяц назад +4

    Hey bro please make a WhatsApp group or any community.

    • @topswe
      @topswe  Месяц назад +3

      That’s a good idea, what are your thoughts on a discord?

    • @sanjoychattopadhyay3454
      @sanjoychattopadhyay3454 Месяц назад +2

      Discord is not ideal... Does Not feel comfortable as whatsapp community.
      Btw Love From India...
      Really love your work and admire you 💕

    • @topswe
      @topswe  Месяц назад

      @@sanjoychattopadhyay3454 thanks for the kind words!

    • @mango-strawberry
      @mango-strawberry Месяц назад +1

      ​@@topswe Discord is great too. Just don't create any unrelated channel. Keep channels related to leetcode only.