Learn data structures and algorithms through open-source implementations in multiple programming languages.

the-algorithms.com
TheAlgorithms homepage screenshot

About TheAlgorithms

TheAlgorithms provides data structure and algorithm implementations in multiple programming languages, including Python, Java, JavaScript, Go, Rust, C++, C, Swift, PHP, R, Scala and Julia. Content is organized by language and by category, such as sorting, searching, graph algorithms and data structures, with documented examples and step-by-step guides.

Code is maintained in language-specific GitHub repositories. Visitors can browse implementations, and contributors can fork a repository, add code with test cases, and submit a pull request for review. Community contact is listed through Discord, Twitter, LinkedIn and email.

Key features

  • Implementations in 30+ programming languages
  • Sorting, searching, graph algorithms and data structure examples
  • Beginner-friendly explanations and step-by-step guides
  • Language-specific GitHub repositories for browsing code
  • Contribution steps for forking, testing and submitting pull requests
  • Community discussion via Discord and updates via Twitter
Best for: Computer science students and beginners learning algorithms through code implementations in different languages.
Good for
  • Covers many programming languages
  • Includes explanations and step-by-step guides
  • Contribution process includes tests and maintainer review

TheAlgorithms at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Good for
Students
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

TheAlgorithms alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Science, Math & Technology

Well-known listings from the same topic.

All 276

TheAlgorithms FAQ

How do I contribute an algorithm?
Fork the repository for a language, add an implementation following the coding and documentation guidelines, add test cases, then submit a pull request for maintainer review.
Which languages and topics are covered?
Languages include Python, Java, JavaScript, Go, Rust, C++, C, Swift, PHP, R, Scala and Julia. Topics include sorting algorithms, searching algorithms, graph algorithms and data structures.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing