# wisdompeak/leetcode

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/wisdompeak-leetcode).**

6,186 stars · 1,322 forks · C++

## Links

- GitHub: https://github.com/wisdompeak/LeetCode
- awesome-repositories: https://awesome-repositories.com/repository/wisdompeak-leetcode.md

## Description

This project is a curated library of algorithm implementations and solved programming problems. It serves as a reference repository for competitive programming and data structure implementations, providing optimized solutions for a wide range of coding challenges.

The collection organizes code examples by algorithmic technique, specifically focusing on the implementation of trees, graphs, and heaps to optimize time and space complexity. It provides language-specific solutions used for high-performance coding tasks.

The repository covers a broad set of capabilities, including graph traversals, dynamic programming, string pattern processing, and binary search operations. It also includes implementations for range data querying, bit manipulation, and the design of custom data structures such as caches and autocomplete engines. Additional coverage includes mathematical computations and the tracking of contest performance.

## Tags

### Education & Learning Resources

- [Algorithmic References](https://awesome-repositories.com/f/education-learning-resources/algorithmic-references.md) — Provides a curated collection of classic algorithmic problem-solving techniques and data structures implemented for study. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Algorithmic Reference Implementations](https://awesome-repositories.com/f/education-learning-resources/educational-resources/algorithms-theory-academics/cs-theory-foundations/algorithms/general-collections-and-study/algorithmic-reference-implementations.md) — Provides a curated collection of language-specific reference implementations for complex algorithms and data structures.
- [Competitive Programming Solutions](https://awesome-repositories.com/f/education-learning-resources/competitive-programming-solutions.md) — Offers optimized solutions for advanced graph theory, dynamic programming, and mathematical problems for competitive coding.
- [Data Structure Study Guides](https://awesome-repositories.com/f/education-learning-resources/data-structure-study-guides.md) — Teaches the application of trees, heaps, and linked lists through a series of solved challenges.
- [Dynamic Programming Implementations](https://awesome-repositories.com/f/education-learning-resources/dynamic-programming-implementations.md) — Provides optimized solutions for complex recursive relations using memoization and state-transition tables. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Graph Traversal Algorithms](https://awesome-repositories.com/f/education-learning-resources/educational-resources/algorithms-theory-academics/cs-theory-foundations/algorithms/data-ordering-and-retrieval/graph-traversal-algorithms.md) — Implements graph traversal algorithms including breadth-first and depth-first search for connectivity and pathfinding. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Prefix Trees](https://awesome-repositories.com/f/education-learning-resources/educational-resources/algorithms-theory-academics/cs-theory-foundations/data-structure-implementations/data-structures/prefix-trees.md) — Implements trie data structures for autocomplete, word-break logic, and efficient string retrieval. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Graph Connectivity Analysis](https://awesome-repositories.com/f/education-learning-resources/graph-algorithms/graph-connectivity-analysis.md) — Implements graph connectivity analysis including reachability and identification of bridges and articulation points.
- [LeetCode Solution References](https://awesome-repositories.com/f/education-learning-resources/leetcode-solution-references.md) — Maintains a curated set of optimized code solutions for common LeetCode competitive programming challenges.
- [Two-Pointer Techniques](https://awesome-repositories.com/f/education-learning-resources/problem-solving-guides/interview-problem-solving/two-pointer-techniques.md) — Implements two-pointer techniques including sliding windows and fast-slow pointers for efficient array and string traversal.
- [Bit Manipulation Solutions](https://awesome-repositories.com/f/education-learning-resources/technical-domain-education/computer-science-education/algorithmic-problem-solving/recursive-problem-solving/bitwise-xor-problem-solving/bit-manipulation-solutions.md) — Implements solutions for bit-level challenges using bitmasks and XOR operations. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Algorithmic Taxonomies](https://awesome-repositories.com/f/education-learning-resources/algorithmic-taxonomies.md) — Categorizes problems and solutions using a hierarchical classification system based on the underlying data structures used.
- [Custom Data Structure Implementations](https://awesome-repositories.com/f/education-learning-resources/data-structure-design/custom-data-structure-implementations.md) — Builds specialized systems such as LRU caches and autocomplete engines with guaranteed time complexity. ([source](https://github.com/wisdompeak/leetcode#readme))

### Data & Databases

- [Data Structure Implementations](https://awesome-repositories.com/f/data-databases/data-structure-implementations.md) — Provides a reference library of tree, graph, and heap implementations optimized for time and space complexity.
- [Hash Maps](https://awesome-repositories.com/f/data-databases/hash-maps.md) — Implements hash map strategies to identify subarrays, anagrams, and frequency patterns via efficient key-value lookups. ([source](https://github.com/wisdompeak/leetcode#readme))

### Development Tools & Productivity

- [Competitive Programming Repositories](https://awesome-repositories.com/f/development-tools-productivity/competitive-programming-repositories.md) — Acts as a reference guide for implementing high-performance data structures and algorithms used in competitions.
- [Technical Interview Preparation](https://awesome-repositories.com/f/development-tools-productivity/technical-interview-preparation.md) — Provides practice materials and algorithmic patterns to prepare for software engineering coding interviews.

### Programming Languages & Runtimes

- [Algorithm Implementations](https://awesome-repositories.com/f/programming-languages-runtimes/algorithm-implementations.md) — Serves as a comprehensive library of solved programming problems and data structure implementations.
- [Language-Specific Implementations](https://awesome-repositories.com/f/programming-languages-runtimes/python-native-implementations/language-specific-implementations.md) — Organizes algorithmic solutions by grouping them around specific programming languages and their native libraries.
- [Sorted Container Strategies](https://awesome-repositories.com/f/programming-languages-runtimes/range-search-and-sort/sorted-container-strategies.md) — Solves dynamic median and range-based problems using multisets and interval tracking. ([source](https://github.com/wisdompeak/leetcode#readme))

### Scientific & Mathematical Computing

- [Binary Search Algorithms](https://awesome-repositories.com/f/scientific-mathematical-computing/binary-search-algorithms.md) — Implements binary search algorithms for efficient lookups in sorted intervals and boundary detection. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Bitwise Optimizations](https://awesome-repositories.com/f/scientific-mathematical-computing/bitwise-optimizations.md) — Implements algorithmic techniques using bitwise operations to optimize time and space complexity for numerical problems.
- [Mathematical Computing Libraries](https://awesome-repositories.com/f/scientific-mathematical-computing/mathematical-computing-libraries.md) — Includes implementations for mathematical computations involving combinatorics, number theory, and geometry. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Complexity Annotations](https://awesome-repositories.com/f/scientific-mathematical-computing/numerical-mathematical-foundations/algorithms-and-complexity/complexity-annotations.md) — Provides code solutions annotated with time and space complexity for performance comparison across different approaches.

### Software Engineering & Architecture

- [Range Queries](https://awesome-repositories.com/f/software-engineering-architecture/algorithmic-problem-solving/array-manipulation-solutions/range-queries.md) — Provides implementations for range queries using segment trees and Fenwick trees for logarithmic time aggregates.
- [Greedy Algorithm Solutions](https://awesome-repositories.com/f/software-engineering-architecture/algorithmic-problem-solving/greedy-algorithm-solutions.md) — Provides curated solutions for greedy algorithm challenges including interval scheduling and sequence optimization. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Disjoint Set Union](https://awesome-repositories.com/f/software-engineering-architecture/disjoint-set-union.md) — Implements Union-Find with path compression and weights to manage connected components and minimum spanning trees. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Linked List Manipulation Utilities](https://awesome-repositories.com/f/software-engineering-architecture/linked-lists/linked-list-manipulation-utilities.md) — Implements fundamental linked list operations including rotation, partitioning, and node reversal. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Memoization Caches](https://awesome-repositories.com/f/software-engineering-architecture/memoization-caches.md) — Implements memoization caches to optimize overlapping subproblems within dynamic programming solutions.
- [String Processing Algorithms](https://awesome-repositories.com/f/software-engineering-architecture/string-processing-algorithms.md) — Provides implementations of string pattern matching algorithms including KMP, Manacher, and rolling hashes. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Tree Traversal Algorithms](https://awesome-repositories.com/f/software-engineering-architecture/tree-traversal-algorithms.md) — Provides depth-first, breadth-first, and lowest common ancestor traversal algorithms for various tree structures. ([source](https://github.com/wisdompeak/leetcode#readme))
- [Monotone Stack Algorithms](https://awesome-repositories.com/f/software-engineering-architecture/monotone-stack-algorithms.md) — Implements monotonic stacks and double-ended queues to solve next-greater-element and sliding window maximum problems. ([source](https://github.com/wisdompeak/leetcode#readme))

### Part of an Awesome List

- [Learning & Reference](https://awesome-repositories.com/f/awesome-lists/learning/learning-reference.md) — Solutions to algorithm problems
