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
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
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! :)
@@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
To the point, no BS and no long intro.
thanks so much
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
Yes, definitely the point I was trying to make. Everyone has a finite amount of time, it’s best to ensure it’s productive
Glad it was helpful!
I've started my coding journey a month ago! will make sure to implement all your tips
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
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!
Best of luck! You’re on the right track :)
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! :)
Dont put any bound on problem solving guys, what matters is pattern recognition
Great advice! Yep
Honestly I'm more interested in how you went about solving all problems.
I am really waiting for your KILLER Patterns series!! PLEASEEE!!!
@@vijethkashyap151 what exactly are you looking for? :)
@@topswe you had an article for Binary Search patterns. We want similar for DP pleaseeeeeee
@@topswe A LeetCode pattern recognition for dummies would be nice.
@@bwknowles98 do you mean, given a leetcode problem, how to identify what patterns will apply?
@@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!
nice! So did you eventually end up solving the median of 2 sorted arrays question without looking up the answer? All on your own?
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
Bro eats leetcode on breakfast
i forget the pev question logic,what should i do??
how many questions did you solve each day during start to intermediate.
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.
Leetcode can’t tell what functions you use, it’s just evaluates if the test cases pass. Which inbuilt functions can solve this?
@@topswe python sort function where I concatenated the two arrays and then sort and then indexing
@@Annie-nx2og I see. Yeah it will be accepted but you need an O(log(m+n)) time algorithm.
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.
@@Anonymous-om5ql thanks! I haven’t don’t contests in a while, my true rating is higher
Have you done codeforces?
i know array string hash map linked list only,so should i follow the 150 questions playlist or learn dp trees graphs first??
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
Reply pls?????
@@lakhangarg5602 yes?
How to get Knight on LC how many problems you think it takes to get there?
At least 200 imo
@@topswe at 300 i am at 1400 how to improve to 1880 to get Knight?
Why is the aspect ratio of your video like this ? What device do you use ?
@@srijonp4 this is good feedback. I need to change it to 16:9. Thanks
whats your linkedin or github ? :D
I’ll make a community post for it, thanks!
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
from where can i find this list bro?
blud is waiting for leetcode 2
Haha 😂😂
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
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.
It took me over 3 years. I solved 2-3 problems on weekdays, and 10 problems on the weekend.
Thanks for the support! 😀
Hey bro please make a WhatsApp group or any community.
That’s a good idea, what are your thoughts on a discord?
Discord is not ideal... Does Not feel comfortable as whatsapp community.
Btw Love From India...
Really love your work and admire you 💕
@@sanjoychattopadhyay3454 thanks for the kind words!
@@topswe Discord is great too. Just don't create any unrelated channel. Keep channels related to leetcode only.