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