I am new to leetcode and problem solving...I was doing it the wrong way, giving lot of time to a single problem, scratching my head. The video just popped up on the right time
You are not alone. Even i noticed that i am not able to solve problems for past few days. Apparently i am back to the starting line. I am again starting to get afraid of trying or coding a wrong solutions now.
Exactly Thank you so much for your advice. I heard from my trainer that I should not look at the solution, and sounds like a shame to look at the solution. After that, I took many of hours, even a half of day to solve just one hard problem, and eventually, it just made me discouraged of no progress because I was solving 5-8 medium problems every day. I love progress and I enjoyed it. Thank you, I will try to solve more problems, by your way, the way that I feel more encouragement. Thank you sir
@@topswe Bro I have a doubt Can you please help me? I am doing DSA and leetcode from the past few months. The confusion I have is how often should we revise algos or revisit the problems we have solved already? Like in the last month I was solving binary tree problems and I understood everything and it seemed easy at that time? But when i revisited the questions after one month i couldn't code the solution. Althugh i remembered about the approach a little bit but still I was not able to solve it on my own 🙂.
This is my workflow I try to slove problem myself if I'm not able to solve it under 1 hour then i look at explanation but not solution Once i understand tha concept, then i try to solve it again. If I'm still not being able to solve it then i see the solution
Makes sense but what about those problems where you know the data structure and still can't solve it or those problems which is some what math heavy like those on codeforces? For example pretty much everyone knows array but yet there are some problems which requires some sort of trick otherwise can't be solved. How much time to spend for these sort of questions?
Good question, yeah if there’s a trick you don’t know just read the solutions. Spend 5-10 mins and learn the trick. The hard part is deciding if there is a trick or not, which improves with experience.
I’d say the same advice applies for hards. I remember solving my first hards seemed impossible. At some point you need to learn more niche patterns, (seg trees, digit dp, etc) to solve the problem, so definitely need to read the solutions if you’re stuck.
At that point you should know enough to judge whether or not the problem is solvable with your tool box. If not feasible, then you should read the solutions.
Sir I had solved like 250 standard problems and from past 4 months I havent solved a single question from leetcode. Also I feel like i might not solve a new question when asked in interview. I feel like I should start fresh. Any suggestions or tips please?
@@hrithikm5967 I didn’t feel confident about new problems until over 1000 problems solved, so don’t worry it’s normal. Even now I might not be able to solve a new hard problem. I would review the problems you’ve solved already, but don’t spend too much time there unless you really think your fundamentals are weak. Focus on learning more at this point.
I am new to leetcode and problem solving...I was doing it the wrong way, giving lot of time to a single problem, scratching my head. The video just popped up on the right time
Yes that’s how most people start leetcoding, me as well. I want to save beginners a lot of time! Glad you found it useful
Thanks. Will follow this advice !
Glad it was helpful!
Thank you so much! It was a really valuable advice.
Glad it was helpful!
This is THE best advice I heard
Thanks for the kind words! Glad it was helpful
Thanks.
Try to implement this
Glad you found this useful!
Gave me relief after failing to solve problems on my own for the past few days. Thankyou for this advice♥, would try to follow it from now on.
Glad it was helpful!
You are not alone. Even i noticed that i am not able to solve problems for past few days. Apparently i am back to the starting line. I am again starting to get afraid of trying or coding a wrong solutions now.
@@AMANKUMAR-mv6qm Just give your best and leave the rest on god. Trust me it works (tried and tested)
@@AMANKUMAR-mv6qm We aren’t supposed to know every solution, after all that’s why editorials exist
Invaluable 🔥
Thanks for the support!
Exactly Thank you so much for your advice. I heard from my trainer that I should not look at the solution, and sounds like a shame to look at the solution.
After that, I took many of hours, even a half of day to solve just one hard problem, and eventually, it just made me discouraged of no progress because I was solving 5-8 medium problems every day. I love progress and I enjoyed it.
Thank you, I will try to solve more problems, by your way, the way that I feel more encouragement. Thank you sir
Excellent! Thanks for the kind words. Glad to hear this advice was helpful to you!
Just memorized my first 10 easy problems lmao...lul but i am starting to pick up on some stuff though!!!
Great work! Keep it up :)
Thank you so much for this advise ❤❤
Glad you found it useful!
@@topswe Bro I have a doubt Can you please help me? I am doing DSA and leetcode from the past few months. The confusion I have is how often should we revise algos or revisit the problems we have solved already? Like in the last month I was solving binary tree problems and I understood everything and it seemed easy at that time? But when i revisited the questions after one month i couldn't code the solution. Althugh i remembered about the approach a little bit but still I was not able to solve it on my own 🙂.
Thanks bro
Welcome! Glad it was helpful
This is my workflow
I try to slove problem myself if I'm not able to solve it under 1 hour then i look at explanation but not solution
Once i understand tha concept, then i try to solve it again.
If I'm still not being able to solve it then i see the solution
Yeah that sounds great if it works for you, keep it up!
thx bro ill look 200 of them until I get experience so i don't care I'm not looking for job so thank u so much 🙂
Glad this was helpful! :)
where do you work man ?
well i went from first category to second category. but i try my best in competitions.
That’s great to hear! Keep it up :)
hey! can you make a video on how to find patterns while doing leetcode problems with some examples? that will be great :)
Thanks for the idea, I’ll keep that in mind!
Makes sense but what about those problems where you know the data structure and still can't solve it or those problems which is some what math heavy like those on codeforces? For example pretty much everyone knows array but yet there are some problems which requires some sort of trick otherwise can't be solved. How much time to spend for these sort of questions?
Good question, yeah if there’s a trick you don’t know just read the solutions. Spend 5-10 mins and learn the trick. The hard part is deciding if there is a trick or not, which improves with experience.
Come to codeforces buddy .u will be expert or CM soon .and maybe grind 2200ish qns .
Thanks for the suggestion. I’ve been doing some codeforces div 2/3/4 lately :)
Do you have tips for people that are intermediate (they can solve mediums) but not advanced enough to solve hards?
I’d say the same advice applies for hards. I remember solving my first hards seemed impossible. At some point you need to learn more niche patterns, (seg trees, digit dp, etc) to solve the problem, so definitely need to read the solutions if you’re stuck.
At that point you should know enough to judge whether or not the problem is solvable with your tool box. If not feasible, then you should read the solutions.
I have frontend interview on july 8 any advices
Good luck! Sleep well, and rest well the night before!
Can you recommend some DSA courses?
MIT courses are great!
I'm failing on medium problems, how to improve long time?
Have you used a list like leetcode 75? It gives a broad coverage of the patterns
hey thanks for the advice
Glad it was helpful!
Dont care about solved questions, but i want that badge. guardian badge 🤟
That’s a great goal! I remember how happy I was when I got the guardian badge, it’s a big accomplishment! Good luck!
Sir I had solved like 250 standard problems and from past 4 months I havent solved a single question from leetcode. Also I feel like i might not solve a new question when asked in interview. I feel like I should start fresh. Any suggestions or tips please?
@@hrithikm5967 I didn’t feel confident about new problems until over 1000 problems solved, so don’t worry it’s normal. Even now I might not be able to solve a new hard problem. I would review the problems you’ve solved already, but don’t spend too much time there unless you really think your fundamentals are weak. Focus on learning more at this point.
@@topswe thank you Sir
All problem solved still you are rank 11?
I’m rank 6 at my peak, depends on the day :)
@@topswe please tell me how many years it took to solve all problem by understanding them?
@@irfansari_ over 3 years and 3000 hours! :)
@@topswe Hats off to you 🔥
@@takeuchi5760 thanks for the kind words! :) it was a journey for sure