Right way to learn DSA

Once you have read the question properly there are two possible scenario. To improve your problem-solving skills, it’s important to ask certain questions. These questions help you think better and become more skilled in Data Structures and Algorithms (DSA). How do I know this? Well, I landed a job as a Software Development Engineer (SDE) right after graduating from a tier 3 college, thanks to off-campus recruitment.

Able to think about best solution

  1. What made me think this way?
    i) It was based on pattern I know?
    ii) Did I see a sneak peak the solution?
    iii) Did I just figure it out?
    iv) Have I solved problem before?
  2. Why did I think in a particular way?
  3. What did I learn from this? What patterns or lessons can I take away?


Not Able to think about best/ right solution

  1. Why couldn’t I think of the best way?
  2. What made them (solution writer) to think in right way and how can I think in such way?
  3. Why couldn’t I do what I needed to do?
    i) Lack of knowledge about that topic/ pattern?
    ii) Was I not good enough at coding?
    iii) Was I not thinking clearly?
  4. What mistakes did I make, and why? How can I avoid them next time?

For example, here are some things I noticed about myself when I was practicing:


1. I often stick to one approach too quickly, limiting my options.
2. I sometimes trust patterns/ intuition without understanding why they work.
3. I occasionally misunderstand the problem.
4. I struggle to recognize problems that can be solved with recursion.

By thinking about these reflections and working on them, you can get better at DSA and problem-solving.

Share

5 thoughts on “Right way to learn DSA”

  1. I’ve been surfing online more than three hours today, yet I never found any interesting article like yours.

    It is pretty worth enough for me. In my view, if all site owners and
    bloggers made good content as you did, the web will be a lot
    more useful than ever before.

    Reply
  2. It’s perfect time to make some plans for the longer term and it’s time to be happy.

    I’ve learn this post and if I may I desire to counsel you
    some fascinating things or tips. Perhaps you
    could write subsequent articles relating to this article. I desire to
    read more things about it!

    Reply

Leave a Comment