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
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
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
@@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! :)
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
@@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.
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?
@@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!
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.
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
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
@@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.
@@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
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