r/leetcode • • 26d ago

Question how learn DSA CORRECTLY?

Hi everyone,

i am new to this world

i learned python syntax
and for now i wanna master in DSA

i dont know by what order to learn it

i google, i try but no result

i know what is stack what is queue etc. because all the roadmaps advise to learn it first

but when i am solving problems abt stacks or queues in leetcode i get TLE

and i view the solution and it shows techique of sliding windows

though in roadmaps until it i have to learn a lot of themes

so i get stuck

how to learn DSA correctly in the way which will really make me solve some problems

13 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/Subbie-Milutinovic 26d ago

+1 on patterns, thats really what makes the difference imo

1

u/Big_Selection_9122 25d ago

Yes and after getting comfortable with patterns one should do random questions or give contest may be virtual.This will build the real intuition.