Algorithms and Data structures

Open-source projects categorized as Algorithms and Data structures

Top 23 Algorithms and Data structure Open-Source Projects

  • LeetCode-Go

    ✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% / LeetCode 题解

  • cp-algorithms

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

  • Project mention: Do you know of any helpful sources like this for leetcode? | /r/csMajors | 2023-10-02

    I've been learning alot from this git repository: https://cp-algorithms.com/ . Do you know of any of any sources or repositories like this that help with Leetcode or problem solving?

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • C-Sharp

    All algorithms implemented in C#.

  • Project mention: Hacktoberfest 2023 Reflections | dev.to | 2023-10-26

    What I initially viewed as a challenging and sometimes even daunting process transformed into a school of resilience and excellence. The lessons I absorbed from TheAlgorithms were not just theoretical but practical. They found their way into my professional work, where I began to apply the same level of meticulousness and precision. The experience reminded me that in the world of coding, attention to detail and adherence to strict standards can make all the difference between code that merely functions and code that excels.

  • C# Algorithms

    :books: :chart_with_upwards_trend: Plug-and-play class-library project of standard Data Structures and Algorithms in C#

  • Complete-Placement-Preparation

    This repository consists of all the material required for cracking the coding rounds and technical interviews during placements.

  • Data-Structures-and-Algorithms

    Data Structures and Algorithms implementation in Go (by ua-nick)

  • python-coding-interview

    A middle-to-high level open source algorithm book designed with coding interview at heart!

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • FAANG

    Competitive programming questions.

  • flow

    Computational parallel flows on top of GenStage (by dashbitco)

  • Project mention: Switching to Elixir | news.ycombinator.com | 2023-11-09

    You can actually have "background jobs" in very different ways in Elixir.

    > I want background work to live on different compute capacity than http requests, both because they have very different resources usage

    In Elixir, because of the way the BEAM works (the unit of parallelism is much cheaper and consume a low amount of memory), "incoming http requests" and related "workers" are not as expensive (a lot less actually) compared to other stacks (for instance Ruby and Python), where it is quite critical to release "http workers" and not hold the connection (which is what lead to the creation of background job tools like Resque, DelayedJob, Sidekiq, Celery...).

    This means that you can actually hold incoming HTTP connections a lot longer without troubles.

    A consequence of this is that implementing "reverse proxies", or anything calling third party servers _right in the middle_ of your own HTTP call, is usually perfectly acceptable (something I've done more than a couple of times, the latest one powering the reverse proxy behind https://transport.data.gouv.fr - code available at https://github.com/etalab/transport-site/tree/master/apps/un...).

    As a consequence, what would be a bad pattern in Python or Ruby (holding the incoming HTTP connection) is not a problem with Elixir.

    > because I want to have state or queues in front of background work so there's a well-defined process for retry, error handling, and back-pressure.

    Unless you deal with immediate stuff like reverse proxying or cheap "one off async tasks" (like recording a metric), there also are solutions to have more "stateful" background works in Elixir, too.

    A popular background job queue is https://github.com/sorentwo/oban (roughly similar to Sidekiq at al), which uses Postgres.

    It handles retries, errors etc.

    But it's not the only solution, as you have other tools dedicated to processing, such as Broadway (https://github.com/dashbitco/broadway), which handles back-pressure, fault-tolerance, batching etc natively.

    You also have more simple options, such as flow (https://github.com/dashbitco/flow), gen_stage (https://github.com/elixir-lang/gen_stage), Task.async_stream (https://hexdocs.pm/elixir/1.12/Task.html#async_stream/5) etc.

    It allows to use the "right tool for the job" quite easily.

    It is also interesting to note there is no need to "go evented" if you need to fetch data from multiple HTTP servers: it can happen in the exact same process (even: in a background task attached to your HTTP server), as done here https://transport.data.gouv.fr/explore (if you zoom you will see vehicle moving in realtime, and ~80 data sources are being polled every 10 seconds & broadcasted to the visitors via pubsub & websockets).

  • witchcraft

    Monads and other dark magic for Elixir

  • Kotlin-Algorithms-and-Design-Patterns

    This repository contains the most common algorithms and data structures written in the Kotlin language with simple and concise code.

  • Project mention: Kotlin-Algorithms-and-Design-Patterns | /r/Kotlin | 2023-11-01
  • Free-Algorithms-Books

    Free Algorithms books for programmers.

  • Project mention: I do not understand DSA 😭 | /r/learnprogramming | 2023-07-12
  • Towel

    Throw in the towel.

  • Algorithmia

    Algorithm and data-structure library for .NET 4.5.2+/Netstandard 2.0+. Algorithmia contains sophisticated algorithms and data-structures like graphs, priority queues, command, undo-redo and more.

  • fuse

    A Circuit Breaker for Erlang (by jlouis)

  • Project mention: When "letting it crash" is not enough | news.ycombinator.com | 2024-02-07

    Indeed. I do wish there were a few more "extras" in OTP, because "let it crash" needs some more details in some circumstances.

    For instance if you have a system with a user interface and some various components, like say, a database, and the database becomes unavailable, you don't want the entire system to crash. You want it to display an error message to the user and maybe go into some kind of diagnostic mode or other "things are not normal" state.

    Something like https://github.com/jlouis/fuse is one approach.

  • matrex

    A blazing fast matrix library for Elixir/Erlang with C implementation using CBLAS.

  • Awesome-Coding-Interview-Question-Patterns

    The most common question-patterns for any coding-interview

  • algoexpert-data-structures-algorithms

    A collection of solutions for all problem statements on the AlgoExpert Coding Interview platform.

  • simple_bayes

    A Naive Bayes machine learning implementation in Elixir.

  • tryalgo

    Algorithms and data structures for preparing programming competitions: basic and advanced

  • Project mention: I am studying my college Python so can I learn algorithms from it? | /r/Python | 2023-05-02
  • fsm

    Finite State Machine data structure (by sasa1977)

  • Data-Structures-and-Algorithms

    Important data structures and algorithms implemented in Java along with solutions to AlgoExpert problems and some Leetcode problems. (by alpha037)

  • Data-Structures-and-Algorithms-Python

    All the essential resources and template code needed to understand and practice data structures and algorithms in python with few small projects to demonstrate their practical application.

  • SaaSHub

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

    SaaSHub logo
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).

Algorithms and Data structures related posts

Index

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

Project Stars
1 LeetCode-Go 31,962
2 cp-algorithms 6,464
3 C-Sharp 6,306
4 C# Algorithms 5,806
5 Complete-Placement-Preparation 3,058
6 Data-Structures-and-Algorithms 2,738
7 python-coding-interview 2,032
8 FAANG 1,701
9 flow 1,475
10 witchcraft 1,175
11 Kotlin-Algorithms-and-Design-Patterns 800
12 Free-Algorithms-Books 779
13 Towel 700
14 Algorithmia 522
15 fuse 493
16 matrex 477
17 Awesome-Coding-Interview-Question-Patterns 426
18 algoexpert-data-structures-algorithms 424
19 simple_bayes 392
20 tryalgo 367
21 fsm 357
22 Data-Structures-and-Algorithms 335
23 Data-Structures-and-Algorithms-Python 327

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