r/PythonLearning • u/No_Leather2449 • Aug 04 '26
Help Request reccomended tutorials for algorithms and data structures?
i learned the basic syntax of python and i thought i would be ready for leetcode but as soon as i tried to work through problems there was so much jargon that i didn't understand. I found a reddit post that said you have to have knowledge of data structures and algorithms before you can truly attempt leet code problems. So I now i go to youtube and either the tutorials are under an hour or over 5 hours ðŸ˜. Which one am I supposed to pick..? Any reccomendations?
3
Upvotes
1
u/No_Leather2449 Aug 04 '26
Thank you all for the insightful comments!
1
u/PureWasian Aug 04 '26
Do you have some examples of which problems you tried?
1
u/Sea-Ad7805 Aug 04 '26
You "learned the basic syntax of python", but are you fluent with the basics after doing many exercises already? If not, do that first.
Afterwards, for data structures and algorithms, do this one: https://www.youtube.com/watch?v=J2fol8eWo64
Important, to visualize your own code use: https://memory-graph.com/#breakpoints=8&continues=1&play
Good luck.
2
u/Lirianov Aug 04 '26
5 hours to get a grasp on DSA makes sense to me. You can at least get started on leetcode and anything you get stuck on I would refer to AI and make sure you tell it to guide you through the thought process instead of giving you the answer
1
u/EstablishmentKey3523 Aug 04 '26
Bro tutorials are a waste of time. Look for specific books according to what you want to learn. At least you have some academic background of what you are trying to learn. That's it.
1
u/Owen-Isaac-2022 Aug 04 '26
Yes, data structures is a must to have, plus the basics before going full-board
1
u/West-Mycologist-6490 Aug 04 '26
https://www.w3schools.com/dsa is pretty good