How to learn Algorithms & Data Structures with Resources!

Image Credits: Hacker Noon

Algorithms! Data structures! Ahhhh…! In today’s modern world of tech, every computer science engineer needs to know algorithms and data structures(or your boss will say “You’re fired!” NOOO! 😬). To prevent that, you need to understand what is a data structure and what is an algorithm? And how do you learn it?

What is a data structure?

Data structures are the way we can store and retrieve data. For example, you may or may not be familiar with Python lists, or JavaScript arrays. If so, then you know that lists and arrays are sequential. These are just some examples of data structures.

What is an algorithm?

An algorithm is a set of tasks in a program for computers(most times) and humans(sometimes).

Now I know what is a data structure and algorithms, where can I learn it?

Well, you need an order of learning it. You can’t just jump from here to there. Here is my recommended order:


  1. Learn a language and be at an intermediate/advanced level in that language.
  2. Big O Notation (Watch video by HackerRank and Gayle McDowall: or Colt Steele’s:
  3. How to solve problems? (Udacity:
  4. Arrays Data Structure (IC:
  5. Data Structures: (Udacity:
  6. What’s an algorithm? (YouTube:
  7. Algorithms (YouTube:
  8. LeetCode (there are problems, mock interviews, and contests)

NOTE: Although LeetCode has a subscription, don’t purchase it! The only benefits are faster loading, faster submission, mock interview(the problems are the same as on except there is a 2-hour timer, and premium contests(you can attend the contest as virtual after the contest has ended).

That’s all for this article!

Thanks for reading, and don’t forget that to check out my website:

Thank you for reading!

Living in The Milky Way 😀

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store