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