The Algorithms logo
The Algorithms
关于捐赠
回溯

Generate Parentheses

Graph Coloring

Knight Tour

Magic Sequence

N Queens

N Queens All Solution Optimised

Nqueen Print All Solutions

Rat Maze

Subarray Sum

Subset Sum

Sudoku Solver

Word Break

位操作

Count Bits Flip

Count of Set Bits

Count of Trailing Ciphers in Factorial N

Find Non Repeating Number

Next Higher Number with Same Number of Set Bits

Power of 2

Set Kth Bit

Travelling Salesman Using Bit Manipulation

密码

A 1z 26 Cipher

Atbash Cipher

Base 64 Encoding

Caesar Cipher

Elliptic Curve Key Exchange

Hill Cipher

Morse Code

Uint 128 T

Uint 256 T

Vigenere Cipher

XOR Cipher

压缩
转换

Decimal to Binary

Decimal to Hexadecimal

CPU调度算法

Fcfs Scheduling

Non Preemptive Sjf Scheduling

数据结构

Binary Search Tree

Binary Search Tree 2

Circular Queue Using Linked List

Disjoint Set

Doubly Linked List

Dsu Path Compression

Dsu Union Rank

Linked List

Linkedlist Implentation Usingarray

Morrisinorder

Queue Using Array

Queue Using Array 2

Queue Using Linked List

Queue Using Linked List

Queue Using Two Stacks

Reverse a Linked List

Stack Using Array

Stack with Singly Linked List

Stack Using Queue

Trie Using Hashmap

Lowest Common Ancestor

Circular Linked List

Postfix Evaluation

分而治之

Karatsuba Algorithm for Fast Multiplication

Strassen Matrix Multiplication

Mergesort

动态编程

Wildcard Matching

0 1 Knapsack

Abbreviation

Armstrong Number Templated

Catalan Numbers

Coin Change

Coin Change Topdown

Edit Distance

Egg Dropping Puzzle

Fibonacci Bottom Up

Floyd Warshall

Longest Common String

Longest Common Subsequence

Longest Increasing Subsequence

Longest Increasing Subsequence Nlogn

Longest Palindromic Subsequence

Matrix Chain Multiplication

Maximum Circular Subarray

Minimum Edit Distance

Palindrome Partitioning

Partition Problem

Searching of Element in Dynamic Array

Shortest Common Supersequence

Subset Sum Dynamic

Trapped Rainwater

Unbounded 0 1 Knapsack

Factorial

Fibonacci Numbers

Longest Substring Without Repeating Characters

游戏

Memory Game

几何学

Graham Scan Algorithm

Graham Scan Functions

Jarvis Algorithm

Line Segment Intersection

图形学

Spirograph

图形

Bellman Ford

Bi Directional Dijkstra

Breadth First Search

Bridge Finding with Tarjan Algorithm

Connected Components

Connected Components with Dsu

Cycle Check Directed Graph

Depth First Search

Depth First Search with Stack

Dijkstra

Hamiltons Cycle

Hopcroft Karp

Is Graph Bipartite

Is Graph Bipartite 2

Kosaraju

Max Flow with Ford Fulkerson and Edmond Karp Algo

Topological Sort by Kahns Algo

Travelling Salesman Problem

贪心算法

Binary Addition

Boruvkas Minimum Spanning Tree

Digit Separation

Dijkstra Greedy

Gale Shapley

Kruskals Minimum Spanning Tree

Prims Minimum Spanning Tree

哈希

Chaining

Double Hash Hash Table

Linear Probing Hash Table

Quadratic Probing Hash Table

线性代数

Gaussian Elimination

Lu Decomposition

机器学习

A Star Search

Adaline Learning

K Nearest Neighbors

Kohonen Som Topology

Kohonen Som Trace

Neural Network

Ordinary Least Squares Regressor

数学

Aliquot Sum

Approximate Pi

Armstrong Number

Binary Exponent

Binomial Calculate

Check Amicable Pair

Check Factorial

Complex Numbers

Double Factorial

Eratosthenes

Euler's Totient

Extended Euclid Algorithm

Fast Power

Fibonacci Fast

Fibonacci Large

Fibonacci Matrix Exponentiation

Fibonacci Sum

Finding Number of Digits in a Number

Gcd Iterative Euclidean

Gcd of N Numbers

Gcd Recursive Euclidean

Integral Approximation

Integral Approximation 2

Inv Sqrt

Iterative Factorial

Large Factorial

Large Number

Largest Power

Least Common Multiple

Linear Recurrence Matrix

Magic Number

Miller Rabin

Modular Division

Modular Exponentiation

Modular Inverse Fermat Little Theorem

Modular Inverse Simple

N Bonacci

N Choose R

Ncr Modulo P

Number of Positive Divisors

Perimeter

Power for Huge Numbers

Power of Two

Prime Factorization

Primes up to Billion

Quadratic Equations Complex Numbers

Realtime Stats

Sieve of Eratosthenes

Sqrt Double

String Fibonacci

Sum of Binomial Coefficient

Sum of Digits

Vector Cross Product

Bisection Method

Qr Decomposition

Matrix Exponentiation

矩阵

Pascal Triangle

Spiral Print

数值方法

Babylonian Method

Brent Method Extrema

Composite Simpson Rule

Durand Kerner Roots

False Position

Fast Fourier Transform

Golden Search Extrema

Gram Schmidt

Inverse Fast Fourier Transform

Lu Decompose

Midpoint Integral Method

Newton Raphson Method

Ode Forward Euler

Ode Midpoint Euler

Ode Semi Implicit Euler

Qr Decompose

Qr Eigen Values

Successive Approximation

Operations on Datastructures

Circular Queue Using Array

Get Size of Linked List

Inorder Successor of Bst

Intersection of Two Arrays

Reverse a Linked List Using Recusion

Selectionsortlinkedlist

其他

Buzz Number

Decimal to Roman Numeral

Fast Integer Input

Iterative Tree Traversals

Kadanes 3

Kelvin to Celsius

Lfu Cache

Lru Cache

Lru Cache 2

Palindrome of Number

Paranthesis Matching

Recursive Tree Traversal

Smallest Circle

Sparse Matrix

Stairs Pattern

Tower of Hanoi

Vector Important Functions

物理

Ground to Ground Projectile Motion

概率

Addition Rule

Bayes Theorem

Binomial Dist

Exponential Dist

Geometric Dist

Poisson Dist

Windowed Median

范围查询

Heavy Light Decomposition

Persistent Seg Tree Lazy Prop

Prefix Sum Array

Sparse Table Range Queries

检索

Binary Search

Exponential Search

Fibonacci Search

Floyd Cycle Detection Algo

Hash Search

Interpolation Search

Interpolation Search 2

Jump Search

Linear Search

Longest Increasing Subsequence Using Binary Search

Median Search

Median Search 2

Saddleback Search

Sublist Search

Ternary Search

Text Search

排序

Topological Sort

Bead Sort

Binary Insertion Sort

Bitonic Sort

Bogo Sort

Bubble Sort

Bucket Sort

Cocktail Selection Sort

Comb Sort

Count Inversions

Counting Sort

Counting Sort String

Cycle Sort

Dnf Sort

Gnome Sort

Heap Sort

Insertion Sort

Insertion Sort Recursive

Library Sort

Merge Insertion Sort

Non Recursive Merge Sort

Numeric String Sort

Odd Even Sort

Pancake Sort

Pigeonhole Sort

Quick Sort

Quick Sort 3

Quick Sort Iterative

Radix Sort

Radix Sort 2

Random Pivot Quick Sort

Recursive Bubble Sort

Selection Sort Iterative

Selection Sort Recursive

Shell Sort

Shell Sort 2

Slowsort

Stooge Sort

Strand Sort

Swap Sort

Tim Sort

Wave Sort

Wiggle Sort

字符串

Hamming Distance

Boyer Moore

Brute Force String Searching

Knuth Morris Pratt

Manacher Algorithm

Rabin Karp

Z Function