The Algorithms
Search any algorithm
About
Donate
Ruby
GitHub repository
Backtracking
Backtracking
Sudoku Solver
+1
More
Backtracking
Generate Paranthesis
More
Bit Manipulation
Bit Manipulation
Single Bit Binary Operations
More
Bit Manipulation
Binary Xor Operator
More
Bit Manipulation
Binary or Operator
More
Bit Manipulation
Binary and Operator
More
Bit Manipulation
Binary Count Setbits
More
Bit Manipulation
Binary Count Trailing Zeroes
More
Ciphers
Ciphers
Merkle Hellman Cryptosystem
More
Ciphers
Caesar
More
Ciphers
RSA
More
Conversions
Conversions
Decimal to Binary
+4
More
Conversions
Roman To Integer
More
Conversions
Binary to Decimal
+3
More
Conversions
Temperature Conversions
More
Conversions
Weight Conversions
More
Data Structures
Data Structures
Trie
More
Data Structures
Stack
+2
More
Data Structures
/
Binary Tree
AVL Tree
+2
More
Data Structures
/
Binary Tree
Invert
More
Data Structures
/
Tree
Pre Order Traversal
More
Data Structures
/
Tree
Inorder Traversal
More
Data Structures
/
Tree
Post Order Traversal
More
Data Structures
/
Binary Tree
Bst
More
Data Structures
/
Hash Table
Richest Customer Wealth
More
Data Structures
/
Hash Table
Uncommon Words
More
Data Structures
/
Hash Table
Common Characters
More
Data Structures
/
Hash Table
Find All Duplicates in an Array
More
Data Structures
/
Hash Table
Arrays Intersection
More
Data Structures
/
Hash Table
Good Pairs
More
Data Structures
Disjoint Sets
More
Data Structures
/
Graphs
Weighted Graph
More
Data Structures
/
Graphs
Bfs
More
Data Structures
/
Graphs
Unweighted Graph
More
Data Structures
/
Heap
Max Heap
+1
More
Data Structures
/
Hash Table
Richest Customer Wealth
More
Data Structures
/
Array
Single Number
More
Data Structures
/
Array
/
Strings
Almost Palindrome Checker
More
Data Structures
/
Array
/
Strings
Remove Vowels
More
Data Structures
/
Array
/
Strings
Jewels and Stones
More
Data Structures
/
Array
Shortest Word Distance
More
Data Structures
/
Array
Shuffle Array
More
Data Structures
/
Array
Sort Squares of an Array
More
Data Structures
/
Array
Maximum Product Subarray
More
Data Structures
/
Hash Table
Find All Duplicates in an Array
More
Data Structures
/
Array
3sum
More
Data Structures
/
Stacks
Next Greater Element
More
Data Structures
/
Array
Sorted Arrays Intersection
More
Data Structures
/
Array
Remove Elements
More
Data Structures
/
Array
Get Products of All Other Elements
More
Data Structures
/
Array
Max 69 Number
More
Data Structures
/
Array
Find the Highest Altitude
More
Data Structures
/
Hash Table
Good Pairs
More
Data Structures
/
Array
Two Sum Ii
More
Data Structures
/
Queues
Circular Queue
More
Data Structures
Queue
+1
More
Data Structures
/
Linked List
Doubly Linked List
+3
More
Data Structures
/
Linked List
Singly Linked List
+3
More
Data Structures
/
Linked List
Circular Linked List
More
Discrete Mathematics
Discrete Mathematics
Exteded Euclidean Algorithm
More
Divide and Conquer
Divide and Conquer
Mergesort
+18
More
Dynamic Programming
Dynamic Programming
Ones and Zeros
More
Dynamic Programming
Climbing Stairs
More
Dynamic Programming
Coin Change
+4
More
Dynamic Programming
Edit Distance
+1
More
Dynamic Programming
/
Sliding Window
House Robber
More
Dynamic Programming
Knapsack
+2
More
Dynamic Programming
Fizz Buzz
More
Dynamic Programming
Maximum Subarray
More
Dynamic Programming
Fizz Buzz
More
Electronics
Electronics
Ohms Law
More
Graphs
Graphs
Number Of Islands
More
Graphs
Depth First Search
+4
More
Math
Math
Armstrong Number
+7
More
Math
Fibonacci Numbers
+10
More
Math
3n Plus 1
More
Math
Aliquot Sum
+4
More
Math
Factorial
+11
More
Math
Lucas Series
More
Math
Ceil
More
Math
Abs
+5
More
Math
Add Digits
More
Math
Find Max
More
Math
Number of Digits
More
Math
Find Min
+1
More
Math
Abs Max
More
Math
Power of Two
More
Math
Prime
+7
More
Math
Factorial Non Recursive Non Iterative
More
Math
Count Sorted Vowel Strings
More
Math
Average Mean
More
Math
Square Root
More
Math
Abs Min
More
Math
Average Median
More
Math
Add
More
Math
Pascal Triangle Ii
More
Math
Sum of Digits
+1
More
Math
Fibonacci Numbers
+10
More
Math
Count Sorted Vowel Strings
More
Math
Pascal Triangle Ii
More
Math
Power of Two
More
Math
Euclidean Gcd
More
Math
LCM
+2
More
Math
Two Sum
More
Math
Two Sum
More
Math
Add Digits
More
Numerical Analysis
Numerical Analysis
Intersection
More
Others
Others
Number of Days
More
Others
Fisher Yates
More
Searches
Searches
Binary Search
+14
More
Searches
Ternary Search
+5
More
Searches
Linear Search
+13
More
Searches
Recursive Double Linear Search
More
Searches
Recursive Linear Search
More
Searches
Fibonacci Search
+4
More
Searches
Double Linear Search
More
Searches
Jump Search
+8
More
Sorts
Sorts
Sort Color
More
Sorts
Gnome Sort
+7
More
Sorts
Pancake Sort
+5
More
Sorts
Bubble Sort
+18
More
Sorts
Binary Insertion Sort
+1
More
Sorts
Counting Sort
+6
More
Sorts
Selection Sort
+13
More
Sorts
Comb Sort
+7
More
Sorts
Cocktail Sort
More
Sorts
Radix Sort
+8
More
Sorts
Heap Sort
+12
More
Sorts
Bogo Sort
+5
More
Sorts
Bead Sort
+2
More
Sorts
Quick Sort
+18
More
Sorts
Bucket Sort
+4
More
Sorts
Shell Sort
+8
More
Sorts
Insertion Sort
+17
More
Sorts
Topological Sort
+1
More
Strings
Strings
Boyer Moore Horspool Search
More
Strings
Max K Most Frequent Words
More
Strings
Isomorphic Strings
More
Strings
Check Anagram
+2
More
Strings
Check Anagram
+2
More
Strings
Palindrome
+2
More
© The Algorithms 2023
What is an algorithm?
About us
Programming Languages
Contribute
Donate
GitHub
Gitter
Twitter
Source code
Contact