awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
xtaci avatar

xtaci/algorithms

0
View on GitHub↗
5,454 Stars·1,523 Forks·C++·MIT·6 Aufrufe

Algorithms

This is a collection of classical algorithms and data structures implemented as a header-only C++ library. It provides a suite of tools for general algorithm implementation, including data structure management, graph theory analysis, and string processing.

The library is distinguished by its specialized toolkits for cryptographic hashing and encoding, featuring implementations of MD5, SHA-1, and Base64. It also includes advanced capabilities for high-performance string processing via suffix trees and arrays, as well as computational number theory for primality testing and arbitrary-precision arithmetic.

Broad capability areas cover graph analysis for shortest paths and maximum flow, the management of balanced search trees and priority queues, and various sorting and searching strategies. The project also includes data compression using Huffman coding and text analysis tools such as Chinese text segmentation.

The library uses template-based generic programming and a header-only design to simplify integration into server-side development.

Features

  • Algorithm Implementations - Provides a comprehensive collection of classical algorithm and data structure implementations for server-side use.
  • Algorithm Libraries - Provides a comprehensive collection of classical algorithms implemented as a header-only C++ library.
  • Data Structures - Provides a diverse set of data structures including hash tables, skip lists, and red-black trees.
  • Data Structure Implementations - Provides header-only implementations of core hierarchical structures including AVL, Red-Black, and B-Trees.
  • Priority Queues - Implements priority queues using binary heaps to efficiently extract minimum or maximum items.
  • Graph Theory - A C++ toolkit for computing shortest paths, maximum flow, and minimum spanning trees.
  • Graph Libraries - Provides a suite of graph algorithms for calculating shortest paths, maximum flow, and minimum spanning trees.
  • Graph Topology Analysis - Analyzes graph topology by identifying strongly connected components and minimum spanning trees.
  • Hash Data Structures - Organizes information using hash tables and balanced trees to achieve logarithmic lookup times.
  • Hash Table Implementations - Implements a complete hash table storage structure using separate chaining to resolve collisions.
  • Self-Balancing Tree Implementations - Implements balanced search trees, including AVL, Red-Black, and B-Trees, for logarithmic lookups.
  • Key-Value Pair Managers - Implements key-value mapping using hash tables and universal hash functions for efficient retrieval.
  • Collection Sorting - Provides utilities for ordering elements within collections using quicksort, merge sort, and radix sort.
  • B-Tree - Implements B-Tree structures to maintain sorted collections supporting efficient sequential access and deletions.
  • Text Processing - Provides high-performance string processing including KMP pattern matching, tries, and Chinese text segmentation.
  • Header-Only Libraries - Utilizes a header-only library design to simplify integration and enable compiler inlining.
  • Doubly Linked Lists - Implements bidirectional record sequences allowing efficient traversal in both directions.
  • Balanced Search Trees - Implements self-balancing tree data structures, including AVL trees, to maintain logarithmic operation complexity.
  • Red-Black Trees - Provides red-black tree implementations to ensure logarithmic time complexity for data storage and retrieval.
  • Prefix Trees - Implements trie data structures for efficient string-based retrieval and common prefix identification.
  • Stack Structures - Implements last-in, first-out data management mechanisms with fixed capacity bounds.
  • Skip Lists - Implements probabilistic linked list structures to maintain sorted data with logarithmic search performance.
  • Hashing Algorithms - Implements various hashing algorithms for mapping arbitrary data to fixed-size values for efficient indexing.
  • FIFO Queues - Implements first-in, first-out queues using circular buffers for efficient element management.
  • Generics & Templates - Employs template-based generic programming to ensure data structures work across multiple types.
  • Binary Search Trees - Implements binary tree structures that maintain ordering properties for efficient data retrieval.
  • String Processing Toolkits - Provides a comprehensive set of tools for text analysis using suffix arrays, tries, and pattern matching algorithms.
  • Graph Analysis Algorithms - Implements core graph theory algorithms such as strongly connected components and minimum spanning trees.
  • Minimum Spanning Tree Algorithms - Provides Prim and Kruskal algorithms to identify the minimum spanning tree in weighted graphs.
  • Shortest Path Algorithms - Implements Dijkstra and Bellman-Ford algorithms to compute the shortest paths in graphs.
  • Divide and Conquer Sorts - Implements classical divide-and-conquer sorting algorithms to achieve logarithmic time complexity.
  • Sorting Algorithms - Implements a comprehensive set of classical sorting algorithms for organizing data collections.
  • Strongly Connected Components Algorithms - Partitions directed graphs into subgraphs where every vertex is mutually reachable.
  • Cryptographic Hash Functions - Implements the SHA-1 algorithm to produce 160-bit message digests based on FIPS standards.
  • Cryptographic Hash Generation - Generates data fingerprints and checksums using standard SHA-1 and MD5 implementations.
  • Data Encoding & Digesting - Implements Base64 encoding and cryptographic digests including MD5 and SHA-1.
  • MD5 Hash Generation - Provides a full implementation of the MD5 algorithm to generate 128-bit message digests.
  • Cryptographic Hash Computations - Provides implementations of SHA-1 and MD5 to generate secure fixed-size data digests.
  • String Indexing Structures - Constructs suffix arrays and trees for high-performance, linear-time string indexing and pattern matching.
  • General Purpose - Implements a comprehensive suite of sorting methods including Quicksort, Merge sort, Radix sort, and Shell sort.
  • Suffix Array Construction - Provides suffix array construction for efficient string pattern matching and analysis.
  • Suffix Trees - Constructs compressed trie structures containing all string suffixes for rapid pattern matching.
  • K-Means Clustering - Implements the K-means algorithm for centroid-based partitioning of unlabeled data points.
  • Perfect Hashing - Provides a two-level hashing strategy to achieve constant-time lookups for fixed key sets.
  • Universal Hashing - Implements a randomized hashing strategy to minimize performance-killing collisions.
  • Membership Filters - Uses specialized filters like Bloom filters to optimize data membership lookups.
  • High-Performance Text Processing - Uses suffix trees and arrays for high-performance pattern matching and text analysis.
  • Probabilistic Membership Filters - Provides Bloom filters for memory-efficient, probabilistic set membership testing.
  • Bloom Filters - Implements Bloom filters for memory-efficient probabilistic set membership testing.
  • Multi-Level Indexing - Implements hierarchical indexing using skip lists and B-Trees for fast data retrieval.
  • Breadth-First Search - Implements breadth-first search for visiting graph nodes level by level.
  • Network Flow Algorithms - Calculates maximum flow in a network using the Edmonds-Karp implementation of Ford-Fulkerson.
  • Maximum Flow Calculation - Computes the maximum flow from source to sink using a relabel-to-front push-relabel algorithm.
  • Disjoint-Set - Implements union-find structures to track partitioned elements and determine connectivity between sets.
  • Depth-First Search Algorithms - Implements depth-first search for exploring graph branches as deeply as possible before backtracking.
  • Bit-Vector Set Implementations - Provides high-performance bit-vector set implementations for memory-efficient boolean state tracking.
  • Linear Collections - Implements sequential linear collections such as stacks, queues, and doubly linked lists.
  • Longest Common - Identifies the longest common subsequence between two arrays using dynamic programming.
  • Binary Lifting Traversal - Provides binary lifting for fast ancestor navigation and lowest common ancestor queries in trees.
  • Huffman Coding Implementations - Implements Huffman coding for lossless data compression using variable-length binary codes.
  • Number Theory Algorithms - Implements number theory algorithms for primality testing and arbitrary-precision integer arithmetic.
  • A-Star Search - Implements A* search to find an efficient path between two nodes in a graph.
  • Longest Palindromic Substring Algorithms - Implements algorithms to identify the longest contiguous palindromic substring within a given text.
  • Primality Testing - Implements primality verification using trial division and the Miller-Rabin test.
  • Prime Number Verifiers - Provides primality verification using trial division and the Miller-Rabin method.
  • Maximum Subarray Sums - Finds the contiguous subarray with the largest sum within a numeric array.
  • Binary-to-Text Encoding - Provides both cryptographic hashing and binary-to-text encoding via Base64.
  • Binary-to-Text Encodings - Transforms binary data into Base64 ASCII strings for safe text-based transmission.
  • Common Ancestor Algorithms - Implements binary lifting algorithms to efficiently find the lowest common ancestor of two tree nodes.
  • Fibonacci - Implements Fibonacci heaps to provide efficient amortized priority queue operations.
  • Arbitrary-Precision Arithmetic - Implements mathematical operations for integers that exceed standard fixed-width numeric limits.
  • Priority Queues - Provides priority queue implementations based on heaps for managing prioritized elements.
  • Linear-Time Integer Sorts - Provides a radix sort implementation to order 32-bit unsigned integers in linear time.
  • String Hashing Techniques - Implements string hashing using FNV-1a and Java algorithms to map text to numerical values.
  • Substring Search Algorithms - Provides algorithms for locating the starting position of specific substrings within indexed text.
  • Algorithms and Snippets - Algorithms and data structures implemented in C++.

Star-Verlauf

Star-Verlauf für xtaci/algorithmsStar-Verlauf für xtaci/algorithms

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Algorithms

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Algorithms.
  • oi-wiki/oi-wikiAvatar von OI-wiki

    OI-wiki/OI-wiki

    26,176Auf GitHub ansehen↗

    This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming. It serves as a centralized repository for algorithmic theory, data structures, and mathematical techniques, providing a structured reference for informatics and collegiate programming competitions. The project distinguishes itself by integrating educational content with a robust suite of automation utilities. It provides a complete workflow for competitive programming, including tools for automated test case generation, solution verification, and direct interaction with onlin

    TypeScriptacm-icpcacm-icpc-handbookalgorithms
    Auf GitHub ansehen↗26,176
  • azl397985856/leetcodeAvatar von azl397985856

    azl397985856/leetcode

    55,758Auf GitHub ansehen↗

    This project is a curated educational resource and solution repository for algorithmic challenges, specifically focused on LeetCode problems. It serves as a technical reference for common data structures and algorithmic patterns, providing verified code implementations across multiple programming languages alongside detailed logic and complexity analysis. The repository functions as a comprehensive study guide for competitive programming and technical interview preparation. It includes specialized learning tools such as an Anki flashcard dataset for spaced repetition and a browser extension t

    JavaScriptalgoalgorithmalgorithms
    Auf GitHub ansehen↗55,758
  • kodecocodes/swift-algorithm-clubAvatar von kodecocodes

    kodecocodes/swift-algorithm-club

    29,099Auf GitHub ansehen↗

    This project is a comprehensive collection of common computer science algorithms and data structures implemented in Swift. It serves as an educational reference and library for studying computational complexity, algorithmic logic, and data structure engineering through practical code examples. The repository provides a wide suite of data structure implementations, including various types of linked lists, heaps, hash tables, and an extensive range of hierarchical trees such as Red-Black, B-Tree, and Splay trees. It also covers diverse sorting and searching techniques, from basic bubble sort to

    Swiftalgorithmsdata-structuresswift
    Auf GitHub ansehen↗29,099
  • mission-peace/interviewAvatar von mission-peace

    mission-peace/interview

    11,306Auf GitHub ansehen↗

    This project is a comprehensive library of reference implementations for fundamental data structures and algorithms, designed to support technical interview preparation and software engineering assessments. It provides a structured collection of computational techniques for solving complex problems involving arrays, strings, graphs, trees, and mathematical analysis. The library distinguishes itself by offering specialized implementations for advanced topics, including concurrent programming patterns and geometric algorithms. It features thread-safe primitives for managing shared state and tas

    Java
    Auf GitHub ansehen↗11,306
Alle 30 Alternativen zu Algorithms anzeigen→

Häufig gestellte Fragen

Was macht xtaci/algorithms?

This is a collection of classical algorithms and data structures implemented as a header-only C++ library. It provides a suite of tools for general algorithm implementation, including data structure management, graph theory analysis, and string processing.

Was sind die Hauptfunktionen von xtaci/algorithms?

Die Hauptfunktionen von xtaci/algorithms sind: Algorithm Implementations, Algorithm Libraries, Data Structures, Data Structure Implementations, Priority Queues, Graph Theory, Graph Libraries, Graph Topology Analysis.

Welche Open-Source-Alternativen gibt es zu xtaci/algorithms?

Open-Source-Alternativen zu xtaci/algorithms sind unter anderem: oi-wiki/oi-wiki — This project is a comprehensive, community-maintained knowledge base and toolkit designed for competitive programming.… azl397985856/leetcode — This project is a curated educational resource and solution repository for algorithmic challenges, specifically… kodecocodes/swift-algorithm-club — This project is a comprehensive collection of common computer science algorithms and data structures implemented in… mission-peace/interview — This project is a comprehensive library of reference implementations for fundamental data structures and algorithms,… mandliya/algorithms_and_data_structures — This project is a comprehensive collection of C++ libraries and toolkits providing reference implementations for data… jack-lee-hiter/algorithmsbypython — AlgorithmsByPython is a reference library and educational repository providing runnable Python implementations of…