Feeling Overwhelmed Learning Data Structures and Algorithms: Need Advice

0
8
Asked By CuriousCoder92 On

I've been diving into programming for about six months now. I've created a few projects and have a fair understanding of JavaScript and TypeScript. Currently, I'm working on a full stack app as a resume project, using CRUD operations, a React front end, and a secure backend with a REST API for managing SQL database queries and user authentication. After putting in long hours daily on this project after my full-time job, I've started feeling burnt out and decided to focus on my Data Structures and Algorithms (DSA) fundamentals. However, a week into this, I'm feeling lost; I struggle with even solving basic array problems. I understand some patterns like the sliding window and two-pointer techniques, but I still can't seem to grasp the implementations, despite hours of effort. It's really making me doubt if I belong in this field. I've noticed that many people learned through courses or college, but I can't afford expensive classes. I'm looking for advice on how to deal with this feeling. Has anyone else felt this way while learning DSA, and how did you overcome it? Any guidance would be appreciated, especially from seasoned professionals.

3 Answers

Answered By CodeCrawler On

Feeling overwhelmed is totally normal! Take your time and allow yourself to practice consistently. Break complex concepts into smaller pieces and work through them step-by-step. Also, when studying DSA, try sketching diagrams or writing pseudocode instead of diving straight into coding; it can simplify the thought process greatly. Learning DSA can actually be done without using a computer at all, which is something some college courses even enforce!

Answered By FutureDev On

You're definitely not alone in finding DSA tough; it's a challenging subject! Even if you get comfortable with basics like arrays, there are more complex topics ahead like graph theory and recursion to tackle. While a CS degree can give you a leg up, it's absolutely possible to learn on your own. Just make sure to find resources that suit your learning style. Have you checked out CS50? It's a fantastic resource!

Answered By TechSavvy101 On

It sounds like you're in a common rut! For understanding complex topics like the sliding window technique, I find that having a well-illustrated example is crucial. You might want to check out some online resources that explain it visually. For instance, try this illustrated explanation of the sliding window algorithm on Stack Overflow.

Practicing problems is key! Start with simple examples, solve them the traditional way, and then re-implement them using the sliding window approach. This helps you see how much more efficient the second method is. Also, there's a free course on Algorithms by Robert Sedgewick on Coursera that could help you out if you're willing to go through the textbook alongside it. It's a great, free way to get a higher understanding!

LearningLassie -

I totally agree with you about the Sedgwick course! It transformed my understanding of algorithms. I found it intense but rewarding, and I suggest taking it after working through an introductory class if you're new to programming.

BookwormBenny -

For sure, the textbook from that course is available online for free! Check out the abridged version—it'll be super helpful for your studies.

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.