Get comfortable with the syntax of one programming language. Python will be easy for beginners.
Beginners can start with writing scripts for simple data structures such as Array, String and Hashmaps. You can practice on GFG with filter Topic Tags like Arrays/Strings and set difficulty to School or Basic problems.
After getting familiar with basic data structures and problem solving. One can buy CRACKING the CODING INTERVIEW to dig deeper.
Practicing is the most important part to get better at DSA. Solving DSA questions can be related to solving Math problems in school.
Watch the solution of a problem only after giving it enough time. Also never try to memorize a solution. Instead learn the methods, techniques and train your mind to think . Try to Develop your own mental models.
-
LinkedList
-
Stack-Queue
-
Binary Tree
-
Heaps (Priority Queue)
-
Disjoint Set (Union-Find)
-
Trie
-
Graphs
-
Dynamic Programming
-
Divide & Conquor
More curious about DSA and looking to crack interviews of top product based companies later? try Leetcode
How I prepared for Google — Solving 200 leetcode questions | by siddhesh suthar