Skip to content

A data structures and algorithms tutorial with animated illustrations and code you can run with one click

Start reading GitHub

Get started with data structures and algorithms through 500 animated illustrations, code in 14 programming languages, and 3,000 community questions and answers

Endorsements

“An accessible introduction to data structures and algorithms that encourages readers to learn by thinking and doing. Highly recommended for anyone new to algorithms.”

— Junhui Deng, Professor, Department of Computer Science, Tsinghua University

“If I had had Hello Algo when I was learning data structures and algorithms, it would have been ten times easier!”

— Mu Li, Senior Principal Scientist, Amazon

Animated illustrations

Clear explanations and a gradual learning curve

"A picture is worth a thousand words."

Run code with one click

Code in more than ten programming languages, with execution visualizations

"Talk is cheap. Show me the code."

Learn together

Ask questions, join discussions, and learn with fellow readers

"Learning by teaching."

Author

Code reviewers

The developers below worked together on the code in different programming languages. Thank you for your efforts and contributions!

Contributors

More than 200 open-source contributors have helped improve this book. Thank you for your time and effort!

Contributors