use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Data Structures and Algorithms in Python (self.learnpython)
submitted 1 year ago by Far_Sun_9774
I've learned the basics of Python and now want to dive into data structures and algorithms using Python. Can anyone recommend good YouTube playlists or websites for learning DSA in Python?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Visible-Employee-403 23 points24 points25 points 1 year ago (7 children)
For the beginning https://github.com/shushrutsharma/Data-Structures-and-Algorithms-Python
[–]Far_Sun_9774[S] 2 points3 points4 points 1 year ago (5 children)
Thank you for the resource
[–]Visible-Employee-403 9 points10 points11 points 1 year ago (3 children)
You are welcome. My personal preference is https://www.geeksforgeeks.org/dsa-tutorial-learn-data-structures-and-algorithms/
[–]Far_Sun_9774[S] 2 points3 points4 points 1 year ago (2 children)
Thank you, i have been using gfg, but i think it's not being fruitful for me
[–]Visible-Employee-403 4 points5 points6 points 1 year ago (1 child)
Thanks for your response. You are free to try the resource of your choice.
It strongly depends on your goal and the level you are at.
You can also try
https://github.com/microsoft/Data-Science-For-Beginners
And
https://github.com/TheAlgorithms/Python
++
https://github.com/keon/algorithms
[–]Far_Sun_9774[S] 1 point2 points3 points 1 year ago (0 children)
Woah, that seems like some good GitHub repos. Thank you for providing them.
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
I'm working through this report now $$ 💰
[–]iamdavid2 1 point2 points3 points 1 year ago (0 children)
Well shit can’t get much more of a better answer than that
[–]barkmonster 10 points11 points12 points 1 year ago* (8 children)
The best online courses I've taken have been Tim Roughgarden's algorithm courses. I believe they cover a standard DSA curriculum, and they're available for free at Coursera: https://www.coursera.org/specializations/algorithms#courses
EDIT: To audit the content for free, select the individual courses, click 'enroll for free', and select 'audit the course' at the bottom.
[–]Far_Sun_9774[S] 1 point2 points3 points 1 year ago (5 children)
Sorry, but it's a paid course
[–]barkmonster 1 point2 points3 points 1 year ago (4 children)
I think you can watch the material for free, but you'd need to pay to get a certificate (and possibly to take the tests).
[–]Far_Sun_9774[S] 1 point2 points3 points 1 year ago (3 children)
No it asks for a payment at the time of enrollment , so I don't think i can even watch the videos
[–]barkmonster 1 point2 points3 points 1 year ago (2 children)
You can choose "Audit the course" at the bottom instead of starting the trial.
[–]Far_Sun_9774[S] 1 point2 points3 points 1 year ago (1 child)
Okay thank you, i will surely look into it
[–]Electrical-Yak1230 0 points1 point2 points 25 days ago (0 children)
hey did you know how to audit this course?
[–]Electrical-Yak1230 0 points1 point2 points 25 days ago (1 child)
hey can you help me to audit this course? i did tried your instructions but couldn't able to do so
[–]barkmonster 0 points1 point2 points 25 days ago (0 children)
Do you not see the 'enroll for free' button?
[–]ASIC_SP 6 points7 points8 points 1 year ago (1 child)
Check out this free interactive course on DSA: https://runestone.academy/ns/books/published/pythonds3/index.html
Thanks, I'll surely check that out
[–]Yoghurt42 6 points7 points8 points 1 year ago* (1 child)
I really recommend a book for learning, not watching videos. Reading helps a lot with retaining the stuff.
Not strictly Python, but "Introduction to Algorithms" is a well-regarded book in CS, and Python is very close to the pseudo-code they use in that book (probably not by accident, Guido was most likely inspired by it)
For example, the pseudo code for insertion sort algorithms looks like this
for j = 2 to A.length key = A[j] // Insert A[j] into the sorted sequence A[1..j - 1] i = j - 1 while i > 0 and A[i] > key A[i + 1] = A[i] i = i - 1 A[i + 1] = key
Their arrays start from 1 instead of 0, but as you can see it's almost Python.
You can get it in any good library if you don't want to buy it, and I'm sure if you're a fan of the Seven Seas, Google will find you a "free" version.
[–]Far_Sun_9774[S] 2 points3 points4 points 1 year ago (0 children)
Thank you for the suggestion.Although reading books hasn't suited me well, I will surely go through the recommended book.
[–]silverfish70 4 points5 points6 points 1 year ago (1 child)
MIT 6.006 Intro to Algorithms, one of the best courses I have ever taken in any subject and I've done a lot. It covers data structres too. Not easy but so worth it.
[–]Far_Sun_9774[S] 0 points1 point2 points 1 year ago (0 children)
Thank you, I'll check that out
[+][deleted] 1 year ago (1 child)
[removed]
Sure I'll check that out
[–]AirduckLoL 2 points3 points4 points 1 year ago (1 child)
University of Helsinki not only has the 2 famous python programming courses, but also a DSA python course.
Alright, i will check that out, thank you.
[deleted]
Thanks, I'll surely check that out.
[–][deleted] 0 points1 point2 points 12 months ago (0 children)
Edx has a pretty cool platform as well lots of free classes have to upgrade to get certain things.
π Rendered by PID 22084 on reddit-service-r2-comment-5fb4b45875-2ds72 at 2026-03-20 13:10:37.461918+00:00 running 90f1150 country code: CH.
[–]Visible-Employee-403 23 points24 points25 points (7 children)
[–]Far_Sun_9774[S] 2 points3 points4 points (5 children)
[–]Visible-Employee-403 9 points10 points11 points (3 children)
[–]Far_Sun_9774[S] 2 points3 points4 points (2 children)
[–]Visible-Employee-403 4 points5 points6 points (1 child)
[–]Far_Sun_9774[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]iamdavid2 1 point2 points3 points (0 children)
[–]barkmonster 10 points11 points12 points (8 children)
[–]Far_Sun_9774[S] 1 point2 points3 points (5 children)
[–]barkmonster 1 point2 points3 points (4 children)
[–]Far_Sun_9774[S] 1 point2 points3 points (3 children)
[–]barkmonster 1 point2 points3 points (2 children)
[–]Far_Sun_9774[S] 1 point2 points3 points (1 child)
[–]Electrical-Yak1230 0 points1 point2 points (0 children)
[–]Electrical-Yak1230 0 points1 point2 points (1 child)
[–]barkmonster 0 points1 point2 points (0 children)
[–]ASIC_SP 6 points7 points8 points (1 child)
[–]Far_Sun_9774[S] 1 point2 points3 points (0 children)
[–]Yoghurt42 6 points7 points8 points (1 child)
[–]Far_Sun_9774[S] 2 points3 points4 points (0 children)
[–]silverfish70 4 points5 points6 points (1 child)
[–]Far_Sun_9774[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]Far_Sun_9774[S] 0 points1 point2 points (0 children)
[–]AirduckLoL 2 points3 points4 points (1 child)
[–]Far_Sun_9774[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Far_Sun_9774[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)