Struggling to Solve Data Structures Problems on Leetcode

0
0
Asked By CuriousCoder93 On

Hey everyone, I'm currently a college undergrad and I've been trying to tackle some data structures problems on Leetcode. However, I'm finding it really tough to solve many of them on my own and often have to resort to watching the solutions. I've barely done much practice so far and it's really starting to frustrate me. What strategies can I use to get better and overcome this hurdle?

2 Answers

Answered By ProblemSolver99 On

How much programming have you done before tackling these problems? If you haven’t mastered the basics, consider reviewing those first. Stuff like variables, loops, and functions are crucial. Once you're solid on that, dive into the basics of data structures and algorithms. If you're still stumped, jot down your thoughts on paper and look back at your textbook for guidance.

Answered By ExerciseEnthusiast42 On

It's totally normal to find this tough at first! Think of it like starting a new sport; you won't run a marathon right away. Be patient and give yourself enough time with each problem—sometimes it takes hours or even days. Take a break if you're stuck, and only check the solution after you've really tried your best. You'll get better with practice!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.