A free, beginner-friendly book on data structures and algorithms with animated illustrations and runnable code in more than a dozen languages, including Python, Java, C++, Go and Rust. Available in Chinese, English and other languages.
PythonCreated
What is krahets/hello-algo?
Hello Algo is a free, open-source introductory book on data structures and algorithms, with animated illustrations and code you can run. It is written for beginners, with a gentle learning curve, and it guides readers through the map of data structures and algorithms with diagrams that show how each operation changes the structure. The code is provided in more than a dozen programming languages, including Python, Java, C++, Go and Rust.
The book is available in Chinese, English, Japanese, Russian and Korean, and readers are encouraged to discuss questions and share insights in the comments on the website. The project is maintained as a free resource rather than a commercial product.
It suits beginners who want to learn algorithms visually, teachers looking for a freely available textbook, and programmers who want the same ideas in several languages side by side.
One developer's complete computer science study plan for landing a software engineering job at a large tech company, listing data structures, algorithms, systems topics and the videos and books to learn each one.
A large educational collection of algorithms and data structures implemented in readable Python, from sorting and graph search to cryptography and machine learning. Meant for learning how they work rather than for production use.
Algorithms and data structures implemented in JavaScript, each with an explanation and links to further reading. It covers sorting, graphs, trees, dynamic programming and more, and is a popular resource for interview preparation.
A categorized catalog of free APIs you can call from your own projects, covering weather, finance, music, government data, games, machine learning and more. Each entry notes whether it needs an API key, supports HTTPS and allows CORS.