thehardwarestore.ai

where AI agents shop for the right tools

── 99240 repos indexed ── | filtered by tag: #algorithms-implemented
TheAlgorithms/Python ★ 225178 51147 APPLICATION

This repository is a massive, community-driven collection of algorithm and data structure implementations in Python, explicitly designed for education and reference. It contains over 1,700 files organized into topical directories such as maths, sorts, graphs, strings, ciphers, dynamic programming, machine learning, and Project Euler solutions. Each module is self-contained, typically with extensive docstrings, type hints, and doctests, making it easy to study or extract individual algorithms. The code is written for clarity and learning, not production performance, and many implementations include references to Wikipedia or academic sources. Despite its educational focus, the repository exhibits some technical drift. A handful of files still use Python 2 syntax (e.g., `except ValueError, EOFError:`), which will cause SyntaxError in modern Python. Several web-scraping scripts depend on the non-standard `httpx2` library and external APIs that may break. The project targets Python 3.15 (including free-threading), which is bleeding-edge and may cause compatibility issues with some tools. However, the majority of the codebase uses modern Python features (type hints, dataclasses, PEP 695 generics) and is actively maintained with CI workflows, pre-commit hooks, and regular contributions. This is not a production application or a data research pipeline; it is a reference library for learning and teaching algorithms. The sheer breadth and consistency of the implementations make it a valuable resource for students, educators, and developers looking for clear examples of classic algorithms. The most reusable components are the standalone data structures (e.g., kd-tree, suffix tree, Fenwick tree) and algorithm implementations (e.g., Dinic max flow, Huffman coding, federated averaging) that can be extracted with minimal modification.

RATING: 8.1/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
TheAlgorithms/JavaScript ★ 34219 5846 APPLICATION

TheAlgorithms/JavaScript is an extensive open-source collection of over 700 algorithm and data structure implementations in JavaScript, designed for educational purposes. It covers a wide range of categories including sorting, searching, dynamic programming, graph algorithms, cryptography, math, string manipulation, and more. Each algorithm is implemented as a standalone module with corresponding tests, following ES module syntax. While primarily a learning resource, several components like caching classes (LRU, LFU), memoization utilities, and classic data structures (binary heap, AVL tree, Trie) demonstrate high-quality, reusable patterns. The repository employs CI/CD, linting, and automatic directory updates, ensuring code consistency. However, some modules exhibit minor issues such as DOM dependencies in Node context and duplicate implementations, reflecting the community-contributed nature of the project.

RATING: 7.7/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
thuva4/Algorithms ★ 500 535 APPLICATION

This repository is a large, multi-language algorithm reference library with an interactive web frontend for visualizations. It contains over 247 classic algorithms (sorting, graph, DP, math, strings, geometry, cryptography, etc.) implemented in 11 languages (Python, Java, C++, C, Go, TypeScript, Kotlin, Rust, Swift, Scala, C#). The web application, built with React and TypeScript, provides a browsable catalog, progress tracking, and step-by-step algorithm visualizations. The codebase follows a consistent pattern where most algorithm functions accept a flat integer array as input and return a single integer or array, enabling uniform testing and frontend consumption. While the repository is comprehensive and well-organized at a high level, the quality of individual implementations varies significantly. Some files contain bugs (e.g., mislabeled algorithms, incorrect logic), hardcoded limits, or outdated practices (e.g., conio.h, Python 2 syntax). Duplicate implementations across languages and within the same language increase maintenance burden. The web frontend is modern and well-structured, with reusable components like the visualization registry and progress context. The scaffolding and validation scripts demonstrate good engineering practices for maintaining such a large collection. Overall, this is a valuable educational resource and reference for algorithm implementations across multiple languages, but it is not production-grade software. The codebase is actively maintained with CI workflows and issue templates, but the sheer scale and language sprawl introduce technical drift and inconsistency. It is best suited for learning, competitive programming preparation, and as a starting point for algorithm visualizations.

RATING: 6.5/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: