# keon/algorithms

**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/keon-algorithms).**

25,269 stars · 4,729 forks · Python · mit

## Links

- GitHub: https://github.com/keon/algorithms
- Homepage: http://keon.kim/algorithms/
- awesome-repositories: https://awesome-repositories.com/repository/keon-algorithms.md

## Topics

`algorithm` `algorithms` `competitive-programming` `data-structure` `graph` `python` `search` `sort` `tree`

## Description

This repository is a structured educational archive of classic computer science algorithms and data structures implemented in Python. It serves as a reference library designed for study and technical skill development, providing clean, readable examples of fundamental computational techniques rather than production-ready software components.

The project distinguishes itself through its idiomatic approach, utilizing native language features and standard library conventions to demonstrate algorithmic logic clearly. Each implementation is organized into a hierarchical directory structure that mirrors standard computer science categories, allowing users to navigate between topics like dynamic programming, graph traversal, and bit manipulation with ease.

The collection covers a broad spectrum of problem-solving patterns, including searching, sorting, and various data structure operations, which are useful for technical interview preparation and competitive programming training. Every algorithm is provided as a standalone, self-contained script that requires no external dependencies, making the codebase accessible for quick prototyping and independent exploration.

## Tags

### Education & Learning Resources

- [Algorithms](https://awesome-repositories.com/f/education-learning-resources/algorithms.md) — Algorithms — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Educational Codebases](https://awesome-repositories.com/f/education-learning-resources/educational-codebases.md) — Structures the codebase as a curated collection of canonical implementations intended for study rather than production integration.
- [Algorithm Collections](https://awesome-repositories.com/f/education-learning-resources/algorithm-collections.md) — Minimal examples of data structures and algorithms in Python keon.kim/algorithms/ ### Topics python search tree algorithm data-structure algorithms graph competitive-programming sort ### Resources Readme ### License MIT ([source](https://github.com/keon/algorithms))
- [Algorithm Implementations](https://awesome-repositories.com/f/education-learning-resources/algorithm-implementations.md) — Map — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Algorithmic References](https://awesome-repositories.com/f/education-learning-resources/algorithmic-references.md) — A structured archive of classic problem-solving techniques and data structures implemented in a high-level programming language.
- [Computer Science Curricula](https://awesome-repositories.com/f/education-learning-resources/computer-science-curricula.md) — Learning the core principles of software engineering by exploring clean and readable implementations of classic computational problem solving techniques.
- [Mathematical Algorithms](https://awesome-repositories.com/f/education-learning-resources/mathematical-algorithms.md) — Math — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Matrix Operations](https://awesome-repositories.com/f/education-learning-resources/matrix-operations.md) — Matrix — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Queue Implementations](https://awesome-repositories.com/f/education-learning-resources/queue-implementations.md) — Queue — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Search Algorithms](https://awesome-repositories.com/f/education-learning-resources/search-algorithms.md) — Searching — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Computer Science Tutorials](https://awesome-repositories.com/f/education-learning-resources/computer-science-tutorials.md) — A curated set of examples covering core programming topics intended to help developers understand and master technical fundamentals.
- [Interview Preparation Guides](https://awesome-repositories.com/f/education-learning-resources/interview-preparation-guides.md) — Studying fundamental data structures and algorithmic patterns to build confidence and proficiency for coding assessments and technical job interviews.
- [Bit Manipulation Tutorials](https://awesome-repositories.com/f/education-learning-resources/bit-manipulation-tutorials.md) — Provides structured learning materials and examples for understanding and implementing bitwise operations. ([source](https://github.com/keon/algorithms))
- [Compression Algorithms](https://awesome-repositories.com/f/education-learning-resources/compression-algorithms.md) — Provides educational explanations and code examples for various data compression algorithms. ([source](https://github.com/keon/algorithms))
- [Data Structure Tutorials](https://awesome-repositories.com/f/education-learning-resources/data-structure-tutorials.md) — Data Structures — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Graph Algorithms](https://awesome-repositories.com/f/education-learning-resources/graph-algorithms.md) — Graph — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Greedy Algorithms](https://awesome-repositories.com/f/education-learning-resources/greedy-algorithms.md) — Greedy — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Heap Algorithms](https://awesome-repositories.com/f/education-learning-resources/heap-algorithms.md) — Heap — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))
- [Linked List Algorithms](https://awesome-repositories.com/f/education-learning-resources/linked-list-algorithms.md) — Linked List — a named example documented in this learning resource. ([source](https://github.com/keon/algorithms))

### Programming Languages & Runtimes

- [Python Implementations](https://awesome-repositories.com/f/programming-languages-runtimes/python-implementations.md) — - Python 100.0% ([source](https://github.com/keon/algorithms))
- [Idiomatic Implementations](https://awesome-repositories.com/f/programming-languages-runtimes/idiomatic-implementations.md) — Utilizes native language features and standard library conventions to demonstrate algorithmic logic in a readable and concise manner.

### Software Engineering & Architecture

- [Algorithm Prototypes](https://awesome-repositories.com/f/software-engineering-architecture/algorithm-prototypes.md) — Referencing verified implementations of complex logic to quickly integrate efficient data handling and processing into custom software projects.
