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