QuirkyBoba
QuirkyBoba

DSA

Any DSA solvers? First time solving DSA and preparing myself to switch to better product based companies for higher package. My question is: When I solve LeetCode, I am able to understand the question, come up with initial approach too but without looking into solution or explanation I am unable to solve it completely!😢 while watching a Youtube videos I am perfectly able to understand and solve the problem but when I solve a problem alone(without any resource) or live solve in mock interviews, I am stuck..

Anyone's gone thru the same phase, how to uplift myself from here? TIA

12mo ago
Find out if you are being paid fairly.Download Grapevine
GroovyPretzel
GroovyPretzel

Don't worry, I too was once a noob. Start with Leetcode's daily challenge and maintain the streak. Give yourselves 45 minutes of time to think on your own. If still you couldn't do, look at the first hint. Look at next hint after 10 minutes. If you still cannot do it, look at a solution and finish. But add this to a spreadsheet and revisit it exactly after a week on weekends. It takes time, but you'll grasp it sooner.

QuirkyBoba
QuirkyBoba

Nice...Will try it out. Tq♦️

DerpyBiscuit
DerpyBiscuit

You may try this approach

  1. Choose a genre of question Let's say Strings
  2. Practice that section in geeks for geeks
  3. While you go through that section in geeks for geeks ( be lenient here you may see the solution but you should code it up)
  4. Once you have spent some time with this section in geeks for geeks. Let's stay you browsed about 30-35 question
  5. Go back to leet code
  6. Apply filter for your genre (ie Strings)
  7. Start solving easy problems
  8. If you start solving easy in 1hr
  9. Get started with medium
  10. If 7,8,9 do not work Repeat 4 with more coverage
QuirkyBoba
QuirkyBoba

Great will try it tq♦️

Discover more
Curated from across