The Algorithms logo
The Algorithms
AboutDonate
undefined

Knapsack

Backtracking
Ciphers

Transposition

Polybius

Another Rot 13

Morse Code

Vigenere

Data Structures
Divide and Conquer
Dynamic Programming

Maximum Subarray

Longest Increasing Subsequence

Fibonacci Numbers

Longest Common Subsequence

Longest Continuous Increasing Subsequence

General
Geometry

Closest Points

Graphs

Depth First Search

Prufer Code

Dijkstra

Breadth First Search

Minimum Spanning Tree

Bellman Ford

Depth First Search Tic Tac Toe

Hashing
Math

Trial Division

Greatest Common Divisor

Pollard Rho

Prime Check

Square Root

Perfect Numbers

Pascal Triangle

Nthprime

Linear Sieve

Miller Rabin

Fast Power

Extended Euclidean Algorithm

Two Sum

Numerical Methods

Fast Fourier Transform

Searches

Kth Smallest

Binary Search Recursive

Linear Search

+11

More

Exponential Search

Binary Search

+12

More

Jump Search

Fibonacci Search

Sorts

Shell Sort

Stooge Sort

Bubble Sort

+16

More

Radix Sort

Counting Sort

Heap Sort

+13

More

Quick Sort

+17

More

Odd Even Sort

Gnome Sort

Comb Sort

Cocktail Shaker Sort

Pancake Sort

Bucket Sort

Insertion Sort

+15

More

Merge Sort

+17

More

Tim Sort

Selection Sort

+12

More
Strings

Rabin Karp

Z Algorithm

Burrows Wheeler Transform

Aho Corasick

Manacher

Knuth Morris Pratt