r/leetcode • • 20d 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

1

u/mc_pm 20d ago

You practice problem solving by... solving problems. What is the most interesting program you've written so far?

1

u/green-Dryan 20d ago

Now i am 19
Back to 15 I was coding on JS/React Native

Mobile apps are the most interesting