How to start your DSA journey?

Anmol GuptaAnmol Gupta
2 min read

Table of contents

I have chosen to write on this topic as I have a keen interest in Data Structures and Algorithms and I have also learnt a lot about them. DSA isn't a topic but more of a journey dealing with your problem-solving skills and building the best out of your brain. It starts with the basics when you don't know anything about programming rising to everything you ever want to achieve from your brain. It will make you think like no other and would force you to do something you always imagined too. There are numerous resources and platforms available to practice but today I will be listing certain steps that you should follow to master the art of DSA. But before starting, remember practice is a key to success.

  1. Learn a programming language
  2. Learn about time and space complexities
  3. Learn about Array, Matrix and String
  4. Learn about STL(Standard Template Library), if doing it in C++
  5. Time for calling itself, again and again, that's Recursion
  6. Do Linked List
  7. Time to push data into the stack
  8. Follow stack's sister, that's a Queue
  9. Backtracking - I call it advance recursion
  10. Tree - Not the one you see every day
  11. Graph - You're not going to plot every time
  12. Heap/Priority_Queue - Take it on priority
  13. Trie - Advancing your concepts
  14. Dynamic Programming - Time for the end game. You'll hate it but then, you'll love it.

Last but not the least, practice, practice and practice...

2
Subscribe to my newsletter

Read articles from Anmol Gupta directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Anmol Gupta
Anmol Gupta