Data structures

Open-source projects categorized as Data structures

Top 23 Data structure Open-Source Projects

Data structures
  1. coding-interview-university

    A complete computer science study plan to become a software engineer.

    Project mention: Coding Interview University | news.ycombinator.com | 2026-05-01
  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. javascript-algorithms

    📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

    Project mention: Dijkstra's Algorithm in JavaScript | news.ycombinator.com | 2025-11-08
  4. fucking-algorithm

    Crack LeetCode, not only how, but also why.

  5. hello-algo

    《Hello 算法》:动画图解、一键运行的数据结构与算法教程。支持简中、繁中、English、日本語,提供 Python, Java, C++, C, C#, JS, Go, Swift, Rust, Ruby, Kotlin, TS, Dart 等代码实现

    Project mention: Ask HN: What Are You Working On? (October 2025) | news.ycombinator.com | 2025-10-12

    Those algorithms implement so random to me, with lack of explanation, no test cases, no formal proof, and often inconsistent naming or structure across languages. Many repositories like TheAlgorithms are great collections, but they feel more like code dumps than true learning resources. You can find an implementation of Dijkstra or QuickSort, but often there is no context: why it works, how to prove it correct, what the complexity is, or how to test it against edge cases. For someone who wants to learn algorithms deeply, that missing layer of reasoning and validation is critical.

    No organization for learners either. It jumps straight into implementations without a logical flow from fundamentals. I want to build something more structured: start from the very foundation (like data structures, recursion, and complexity analysis), then move to classical algorithms (search, sort, graph, dynamic programming), and eventually extend to database internals, optimization, and even machine learning or AI algorithms. Basically, a single consistent roadmap from beginner to researcher level, where every algorithm connects to the next and builds intuition step by step.

    Another very good resource for beginners is https://www.hello-algo.com. At first, i actually wanted to contribute there, since it explains algorithms visually and in simple language. But it mostly covers the basics and stops before more advanced or applied topics. I want to go deeper and treat algorithms as both code and theory, with mathematical rigor and formal proofs where possible. That is something I really liked about Introduction to Algorithms (CLRS) and of course The Art of Computer Programming (TAOCP) by Knuth. They combine reasoning, math, and practice. My goal is to make something in that spirit, but more practical and modern, bridging the gap between academic books and messy open source repos.

  6. Protobuf

    Protocol Buffers - Google's data interchange format

    Project mention: Replacing Protobuf with Rust to go 5 times faster | news.ycombinator.com | 2026-01-23
  7. Java

    All Algorithms implemented in Java

  8. leetcode

    LeetCode Solutions: A Record of My Problem Solving Journey.( leetcode题解,记录自己的leetcode解题之路。) (by azl397985856)

  9. C-Plus-Plus

    Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.

  10. JavaScript

    Algorithms and Data Structures implemented in JavaScript for beginners, following best practices. (by TheAlgorithms)

  11. swift-algorithm-club

    Algorithms and data structures in Swift, with explanations!

  12. OI-wiki

    :star2: Wiki of OI / ICPC for everyone. (某大型游戏线上攻略,内含炫酷算术魔法)

  13. Rust

    All Algorithms implemented in Rust (by TheAlgorithms)

  14. DSA-Bootcamp-Java

    This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.

  15. C

    Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes.

    Project mention: guiarstr VS C - a user suggested alternative | libhunt.com/r/guiarstr | 2025-07-24

    GuiarStr was built as a modern, lightweight alternative to older string manipulation libraries like sds. It focuses on simplicity, clean API, and zero dependencies while providing commonly needed features like trim, split, replace, tolower, and toupper.

  16. Go

    Algorithms and Data Structures implemented in Go for beginners, following best practices. (by TheAlgorithms)

  17. gods

    GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more

  18. leetcode-patterns

    A pattern-based approach to learn technical interview questions

  19. The-Complete-FAANG-Preparation

    Dive into this repository, a comprehensive resource covering Data Structures, Algorithms, 450 DSA by Love Babbar, Striver DSA sheet, Apna College DSA Sheet, and FAANG Questions! 🚀 That's not all! We've got Technical Subjects like Operating Systems, DBMS, SQL, Computer Networks, and Object-Oriented Programming, all waiting for you.

  20. CtCI-6th-Edition

    Cracking the Coding Interview 6th Ed. Solutions

  21. cp-algorithms

    Algorithm and data structure articles for https://cp-algorithms.com (based on http://e-maxx.ru)

  22. orama

    🌌 A complete search engine and RAG pipeline in your browser, server or edge network with support for full-text, vector, and hybrid search in less than 2kb.

    Project mention: Building KiroGraph: a 100% local semantic code knowledge graph for Kiro | dev.to | 2026-04-08

    Orama does something clever: hybrid search. One query combines full-text relevance and vector similarity, which produces better results than running them separately and merging. Pure JS, no native compilation. If you want the best result quality and no native dependencies, Orama is the choice.

  23. codeforces-go

    算法竞赛模板库 by 灵茶山艾府 💭💡🎈

  24. crossbeam

    Tools for concurrent programming in Rust

    Project mention: Goroutines in Rust | dev.to | 2026-06-02

    That's it. Everything else — async/await, actors, work-stealing executors, lock-free data structures — lives in the ecosystem (tokio, rayon, crossbeam, actix, etc.).

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Data structures discussion

Log in or Post with

Data structures related posts

  • Thi.ng – open-source building blocks for computational design and art

    1 project | news.ycombinator.com | 7 Jun 2026
  • Zeroserve: A zero-config web server you can script with eBPF

    6 projects | news.ycombinator.com | 6 Jun 2026
  • Performance: Unroll popcount reductions and add a NextClear fast path

    1 project | news.ycombinator.com | 6 Jun 2026
  • Goroutines in Rust

    5 projects | dev.to | 2 Jun 2026
  • Smart multifacet filters in JS using Bitmaps

    2 projects | dev.to | 26 May 2026
  • Show HN: Hypergraph – directed hypergraph library in Rust (40 graph algorithms)

    1 project | news.ycombinator.com | 25 May 2026
  • De‐Bloating JavaScript

    1 project | news.ycombinator.com | 19 May 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Data structure projects? This list will help you:

# Project Stars
1 coding-interview-university 350,557
2 javascript-algorithms 196,030
3 fucking-algorithm 133,550
4 hello-algo 126,547
5 Protobuf 71,323
6 Java 65,792
7 leetcode 55,765
8 C-Plus-Plus 34,333
9 JavaScript 34,186
10 swift-algorithm-club 29,103
11 OI-wiki 26,116
12 Rust 25,820
13 DSA-Bootcamp-Java 22,649
14 C 22,008
15 Go 18,064
16 gods 17,437
17 leetcode-patterns 13,066
18 The-Complete-FAANG-Preparation 11,957
19 CtCI-6th-Edition 11,460
20 cp-algorithms 10,715
21 orama 10,391
22 codeforces-go 8,509
23 crossbeam 8,464

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Java is
the 10th most popular programming language
based on number of references?