The Algorithms
Search any algorithm
About
Donate
Javascript
GitHub repository
Backtracking
Backtracking
Sudoku Solver
+1
More
Backtracking
Sudoku Solver
+1
More
Backtracking
Generate Parentheses
More
Backtracking
N Queens
More
Backtracking
Generate Permutations
More
Backtracking
All Combinations Of Size K
More
Backtracking
Rat In A Maze
More
Backtracking
Knight Tour
More
Bit Manipulation
Bit Manipulation
Is Even
More
Bit Manipulation
Set Bit
More
Bit Manipulation
Binary Count Setbits
More
Bit Manipulation
Is Power of Two
More
Bit Manipulation
Log Two
More
Bit Manipulation
Next Power Of Two
More
Cache
Cache
Memoize
More
Cellular Automata
Cellular Automata
Elementary
More
Cellular Automata
Conways Game of Life
More
Ciphers
Ciphers
Keyword Shifted Alphabet
More
Ciphers
Caesar Cipher
More
Ciphers
Atbash
More
Ciphers
XOR Cipher
+2
More
Ciphers
Morse Code
More
Ciphers
Vigenere Cipher
More
Ciphers
Affine Cipher
More
Ciphers
Rot 13
More
Ciphers
Key Finder
More
Conversions
Conversions
RGB To Hex
More
Conversions
Roman To Decimal
More
Conversions
Liters To US Gallons
More
Conversions
Title Case Conversion
More
Conversions
Temperature Conversion
More
Conversions
Liters To Imperial Gallons
More
Conversions
Array Buffer To Base 64
More
Conversions
Decimal to Binary
+4
More
Conversions
Ounces To Kilograms
More
Conversions
Hex To Binary
More
Conversions
Meter To Feet Conversion
More
Conversions
Railway Time Conversion
More
Conversions
Oct To Decimal
More
Conversions
Hex To RGB
More
Conversions
Upper Case Conversion
More
Conversions
Binary To Hex
More
Conversions
Base 64 To Array Buffer
More
Conversions
Arbitrary Base
More
Conversions
Rgb Hsv Conversion
More
Conversions
Decimal To Hex
More
Conversions
Decimal to Octal
More
Conversions
Hex To Decimal
More
Conversions
Binary to Decimal
+3
More
Conversions
Date Day Difference
More
Conversions
Date To Day
More
Conversions
Decimal To Roman
More
Conversions
Lower Case Conversion
More
Data Structures
Data Structures
/
Linked List
Is Palindrome
+1
More
Data Structures
/
Binary Tree
Fenwick Tree
More
Data Structures
Stack
+2
More
Data Structures
/
Stacks
Stack ES 6
More
Data Structures
/
Queues
Queue Using 2 Stacks
More
Data Structures
Queue
+1
More
Data Structures
/
Queues
Circular Queue
More
Data Structures
/
Array
Reverse
More
Data Structures
/
Array
Number Of Local Maximum Points
More
Data Structures
/
Array
Local Maximom Point
More
Data Structures
/
Linked List
Doubly Linked List
+3
More
Data Structures
/
Linked List
Reverse Singly Linked List
More
Data Structures
/
Linked List
Singly Circular Linked List
More
Data Structures
/
Linked List
Add Two Numbers
More
Data Structures
/
Linked List
Cycle Detection
More
Data Structures
/
Linked List
Singly Linked List
+3
More
Data Structures
/
Graphs
Graph 3
More
Data Structures
Graph
More
Data Structures
/
Graphs
Graph 2
More
Data Structures
/
Heap
Key Priority Queue
More
Data Structures
/
Heap
Max Heap
+1
More
Data Structures
/
Heap
Min Heap
More
Data Structures
/
Heap
Min Priority Queue
More
Data Structures
/
Vectors
Vector 2
More
Data Structures
/
Binary Tree
AVL Tree
+2
More
Data Structures
/
Binary Tree
Binary Search Tree
+3
More
Data Structures
/
Binary Tree
Segment Tree
+3
More
Data Structures
Trie
More
Divide and Conquer
Divide and Conquer
Mergesort
+18
More
Dynamic Programming
Dynamic Programming
Floyd Warshall
+3
More
Dynamic Programming
Max Product Of Three
More
Dynamic Programming
Longest Valid Parentheses
More
Dynamic Programming
Rod Cutting
More
Dynamic Programming
Minimum Cost Path
More
Dynamic Programming
/
Sliding Window
Max Consecutive Ones III
More
Dynamic Programming
/
Sliding Window
Longest Substring Without Repeating Characters
More
Dynamic Programming
/
Sliding Window
House Robber
More
Dynamic Programming
/
Sliding Window
Max Consecutive Ones
More
Dynamic Programming
/
Sliding Window
Permutationin String
More
Dynamic Programming
Fast Fibonacci Number
More
Dynamic Programming
Longest Common Subsequence
+1
More
Dynamic Programming
Zero One Knapsack
More
Dynamic Programming
Max Non Adjacent Sum
More
Dynamic Programming
Trapping Rain Water
More
Dynamic Programming
Edit Distance
+1
More
Dynamic Programming
Coin Change
+4
More
Dynamic Programming
Unique Paths 2
More
Dynamic Programming
Longest Palindromic Subsequence
More
Dynamic Programming
Tribonacci Number
More
Dynamic Programming
Shuf
More
Dynamic Programming
Kadane Algo
More
Dynamic Programming
Climbing Stairs
More
Dynamic Programming
Catalan Numbers
More
Dynamic Programming
Unique Paths
More
Dynamic Programming
Number Of Subset Equal To Given Sum
More
Dynamic Programming
Find Month Calendar
More
Dynamic Programming
Longest Increasing Subsequence
More
Dynamic Programming
Sum of Subset
More
Fractals
Fractals
Mandelbrot
More
Fractals
Koch Snowflake
More
Fractals
Koch Snowflake
More
Geometry
Geometry
Cone
More
Geometry
Pyramid
More
Geometry
Convex Hull Graham
More
Geometry
Circle
More
Geometry
Sphere
More
Graphs
Graphs
Node Neighbors
More
Graphs
Breadth First Search
+3
More
Graphs
Connected Components
More
Graphs
Depth First Search Recursive
More
Graphs
Kosaraju
More
Graphs
Kruskal MST
More
Graphs
Density
More
Graphs
Binary Lifting
More
Graphs
Number Of Islands
More
Graphs
Dijkstra
+3
More
Graphs
Dijkstra Smallest Path
More
Graphs
Breadth First Shortest Path
More
Graphs
Prim MST
More
Graphs
Bellman Ford
+3
More
Graphs
Depth First Search Iterative
More
Graphs
LCA Binary Lifting
More
Graphs
Depth First Search
+4
More
Hashing
Hashing
Sha 256
More
Hashing
Sha 1
More
Math
Math
Matrix Multiplication
More
Math
Co Prime Check
More
Math
Pow
More
Math
Degrees to Radians
More
Math
Get Euclid GCD
More
Math
Euler's Totient
+1
More
Math
Sieve of Eratosthenes
+4
More
Math
Perfect Square
+1
More
Math
Linear Sieve
More
Math
Factorial
+11
More
Math
Find Min Iterator
More
Math
While Loop Factorial
More
Math
Fibonacci Numbers
+10
More
Math
Collatz Sequence
More
Math
Is Odd
More
Math
Average Mean
More
Math
Area
More
Math
Mean Square Error
More
Math
Leap Year
More
Math
Square Root Logarithmic
More
Math
Polynomial
More
Math
Aliquot Sum
+4
More
Math
Number of Digits
More
Math
Is Divisible
More
Math
Juggler Sequence
More
Math
Liouville Function
More
Math
Factors
More
Math
Modular Arithmetic
More
Math
Pronic Number
More
Math
Mobius Function
More
Math
Volume
More
Math
Farey Approximation
More
Math
Square Root
More
Math
Average Median
More
Math
Radians to Degrees
More
Math
Abs
+5
More
Math
LCM
+2
More
Math
Int To Base
More
Math
Hexagonal Number
More
Math
Find Hcf
More
Math
Mean Absolute Deviation
More
Math
Binary Exponentiation Recursive
More
Math
Signum
More
Math
Bisection Method
More
Math
Extended Euclidean GCD
More
Math
Find Min
+1
More
Math
Reverse Polish Notation
More
Math
Check Kishnamurthy Number
More
Math
Is Square Free
More
Math
Parity Outlier
More
Math
Twin Prime
More
Math
Figurate Number
More
Math
Armstrong Number
+7
More
Math
Softmax
More
Math
Prime Factors
More
Math
Zellers Congruence Algorithm
More
Math
Modular Binary Exponentiation Recursive
More
Math
Reverse Number
More
Math
Binary Exponentiation Iterative
More
Math
Is Palindrome Integer Number
More
Math
Perfect Cube
More
Math
Decimal Expansion
More
Math
Arithmetic Geometric Mean
More
Math
Sum of Geometric Progression
More
Math
Pow Logarithmic
More
Math
Midpoint Integration
More
Math
Circular Arc
More
Math
Perfect Number
+4
More
Math
Prime
+7
More
Math
Euler's Totient
+1
More
Math
Decimal Isolate
More
Math
Pi Approximation Monte Carlo
More
Math
Sum of Digits
+1
More
Math
Grid Get
More
Math
Euler Method
More
Math
Coordinate
More
Math
Count Numbers Divisible
More
Math
Find Max Recursion
More
Math
Simpson Integration
More
Math
Exponential Function
More
Math
Matrix Exponentiation Recursive
More
Math
Friendly Numbers
More
Math
Lucas Series
More
Math
Sieve Of Eratosthenes Int Array
More
Math
Shors Algorithm
More
Math
Binomial Coefficient
More
Math
Binary Convert
More
Math
Permutation And Combination
More
Math
Factorial
+11
More
Math
Sieve of Eratosthenes
+4
More
Math
Fibonacci Numbers
+10
More
Matrix
Matrix
Pascal Triangle
More
Navigation
Navigation
Haversine
More
Others
Others
Tower of Hanoi
+1
More
Others
Lru Cache
More
Others
Lfu Cache
More
Recursive
Recursive
Letter Combination
More
Recursive
Flood Fill
More
Recursive
Subsequence Recursive
More
Recursive
Fibonacci Number Recursive
More
Recursive
Binary Equivalent
More
Recursive
Eucledian GCD
More
Searches
Searches
Binary Search
+14
More
Searches
Fibonacci Search
+4
More
Searches
Union Find
More
Searches
String Search
More
Searches
Quick Select Search
More
Searches
Sliding Window
More
Searches
Minesweeper
More
Searches
Exponential Search
More
Searches
Binary Search
+14
More
Searches
Jump Search
+8
More
Searches
Ternary Search
+5
More
Searches
Linear Search
+13
More
Searches
Interpolation Search
+5
More
Searches
Quick Select
More
Sorts
Sorts
Dutch National Flag Sort
More
Sorts
Topological Sort
+1
More
Sorts
Fisher Yates Shuffle
More
Sorts
Bead Sort
+2
More
Sorts
Selection Sort
+13
More
Sorts
Insertion Sort
+17
More
Sorts
Stooge Sort
More
Sorts
Cycle Sort
+4
More
Sorts
Odd Even Sort
More
Sorts
Intro Sort
More
Sorts
Heap Sort V 2
More
Sorts
Cocktail Shaker Sort
More
Sorts
Flash Sort
More
Sorts
Radix Sort
+8
More
Sorts
Pancake Sort
+5
More
Sorts
Counting Sort
+6
More
Sorts
Tim Sort
+1
More
Sorts
Quick Sort
+18
More
Sorts
Find Second Largest Element
More
Sorts
Binary Insertion Sort
+1
More
Sorts
Bubble Sort
+18
More
Sorts
Swap Sort
More
Sorts
Bogo Sort
+5
More
Sorts
Heap Sort
+12
More
Sorts
Bucket Sort
+4
More
Sorts
Quick Sort Recursive
More
Sorts
Pigeonhole Sort
+2
More
Sorts
Gnome Sort
+7
More
Sorts
Comb Sort
+7
More
Sorts
Alpha Numerical Sort
More
Sorts
Shell Sort
+8
More
Sorts
Simplified Wiggle Sort
More
Strings
Strings
Palindrome
+2
More
Strings
Count Letters
More
Strings
Check Kebab Case
More
Strings
Upper
More
Strings
KMP Pattern Searching
More
Strings
Levenshtein Distance
+2
More
Strings
Generate GUID
More
Strings
Boyer Moore
More
Strings
Percentage Of Letters
More
Strings
Format Phone Number
More
Strings
Check Rearrange Palindrome
More
Strings
Create Permutations
More
Strings
Check Snake Case
More
Strings
Permutate String
More
Strings
Check Word Occurrence
More
Strings
Alpha Numeric Palindrome
More
Strings
Check Flat Case
More
Strings
Check Pascal Case
More
Strings
Reverse Words
More
Strings
First Unique Character
More
Strings
Check Exceeding
More
Strings
Check Camel Case
More
Strings
Z Function
More
Strings
Validate Credit Card
More
Strings
Hamming Distance
+4
More
Strings
Dice Coefficient
More
Strings
Pattern Matching
More
Strings
Max Character
More
Strings
Count Substrings
More
Strings
Max Word
More
Strings
Validate Email
More
Strings
Count Vowels
More
Strings
Check Pangram
More
Strings
Check Anagram
+2
More
Strings
Lower
More
Strings
Scramble Strings
More
Strings
Alternative String Arrange
More
Strings
Reverse String
More
Strings
Check Palindrome
More
Strings
Palindrome
+2
More
Strings
Levenshtein Distance
+2
More
Timing-Functions
Timing-Functions
Interval Timer
More
Timing-Functions
Get Month Days
More
Tree
Tree
Breadth First Tree Traversal
More
© The Algorithms 2023
What is an algorithm?
About us
Programming Languages
Contribute
Donate
GitHub
Gitter
Twitter
Source code
Contact