r/learnpython • u/lishige • Oct 20 '26
I want to practice various algorithms using Python. Any recommended platforms?
It should include both code input and algorithm analysis.
19
Upvotes
r/learnpython • u/lishige • Oct 20 '26
It should include both code input and algorithm analysis.
6
u/jamesfowkes Oct 20 '26
https://adventofcode.com/ is quite fun for learning algorithm development, getting a feel for time- and space- usage of algorithms and how to optimise them.
For something more grounded in real-world applications, https://rosalind.info/problems/locations/ is for learning bioinformatics, which has a lot of algorithm-heavy problems.
1
u/Turtvaiz Oct 20 '26
This is pretty much what leetcode is. Advent of code and the euler project also both have general problems that you can try solving, but the difficulty is more just solving the problem in general, and not solving it efficiently.
1
u/herocoding Oct 20 '26
Have a look into https://platform.entwicklerheld.de/challenge?challengeFilterStateKey=all, where each challenge has it's story - instead of just "leetcoding" algorithms. This is much more fun with a story around algorithms - real applications!
1
u/Cyphr11 Oct 20 '26
leetcode
1
u/matari Oct 20 '26
from an ep of a podcast I follow:
https://realpython.com/podcasts/rpp/314/
sites similar to advent of code
if you open the podcast link, there are a couple more