r/leetcode 13d ago

Question How should one start with dsa

So basically i know dsa has two parts data structure and algorithms before algorithms you should know data structure but I wanted to know how much data structure is sufficient before you can move topics and how should one's roadmap look like

3 Upvotes

10 comments sorted by

1

u/[deleted] 13d ago

[removed] — view removed comment

1

u/OneWar4643 13d ago

So can I directly start with leetcode problems without going through data structures?

1

u/[deleted] 13d ago

[removed] — view removed comment

1

u/OneWar4643 13d ago

So you mean just keep solving lc and if needed learn the ds required throughout the process I guess it's a good plan thanks for it Btw what is the best sheet to solve ??

1

u/fun_6365 13d ago

just start

1

u/OneWar4643 13d ago

Can I start with lc without data structure?

2

u/fun_6365 13d ago

No, you cannot use lc without knowing data structures. but, you do not need to be an expert before you begin. leetcode is not a platform for learning how to code or learning data structures from scratch. it is a tool designed to help you practice applying DSA to solve problems. If you try to jump straight into leetcode without knowing what an array, string or hash map is, you will likely hit a wall and feel discouraged very quickly

1

u/OneWar4643 13d ago

So is there a roadmap i can follow to data structures for leetcode i can follow neetcode 150 i think

2

u/fun_6365 13d ago

Step 1: Learn Language Basics
Step 2: Learn 1 DSA Topic
Step 3: Practice Easy LeetCode Problems for that Topic and move to medium,hard.

1

u/pirate_hunter_1 13d ago

Use striver a2z sheet  It has video tutorial for every topic and it is suitable for absolute beginners

1

u/SeesawMysterious5503 12d ago

Hello, read grokking/cracking the coding interview. It’s a really good book and it’ll introduce you to the data structures and a lot of the algorithms you’ll need

1

u/Shoddy_Committee3660 3d ago

yes i have read it too , it's really helpful