The Algorithms logoTheAlgorithms
AboutDonate
Ciphers

ColumnarTranspositionCipher

Simple Substitution Cipher

Caesar

AESEncryption

Vigenere

Conversions

Decimal to Binary

+1

DecimalToAnyBase

Rgb Hsv Conversion

Hexadecimal to Decimal

HexaDecimalToBinary

Decimal to Hexadecimal

OctalToHexadecimal

BinaryToHexadecimal

HexToOct

Octal to Decimal

IntegerToRoman

Binary to Decimal

+1

AnytoAny

AnyBaseToDecimal

Decimal to Octal

AnyBaseToAnyBase

RomanToInteger

Binary to Octal

Data Structures

Queue Using Two Stacks

ConnectedComponent

DecimalToAnyUsingStack

InfixToPostfix

BalancedBrackets

StackOfLinkedList

StackArrayList

PriorityQueues

GenericArrayListQueue

EmptyHeapException

MinPriorityQueue

ValidBSTOrNot

LevelOrderTraversal

BSTIterative

BSTRecursive

LevelOrderTraversalQueue

TreeTraversal

PrintTopViewofTree

CircularBuffer

CircleLinkedList

MergeSortedSinglyLinkedList

Doubly Linked List

+3

CountSinglyLinkedListRecursion

Singly Linked List

Merge K SortedLinkedlist

CursorLinkedList

MergeSortedArrayList

SearchSinglyLinkedListRecursion

HashMapLinearProbing

Digital Image Processing
Divide and Conquer

SkylineAlgorithm

Dynamic Programming

+7

MinimumSumPartition

MinimumPathSum

LongestValidParentheses

Longest Increasing Subsequence

KadaneAlgorithm

Longest Common Subsequence

Matrix Chain Multiplication

Edit Distance

+1

LongestPalindromicSubsequence

Floyd Warshall

Fractals

Mandelbrot

Koch Snowflake

Graphs

Dijkstra

Bellman Ford

PrimMST

Kruskal

Knapsack

Knapsack

Machine Learning
Math

PowerOfTwoOrNot

VampireNumber

Pow

FFTBluestein

Find Min Recursion

AmicableNumber

Perfect Number

Sum of Digits

Sum of Arithmetic Series

BinaryPow

Find Max

Find Max Recursion

Average

PalindromeNumber

Lucas Series

Median

Mode

AbsoluteValue

Armstrong

MaxValue

Fibonacci Numbers

+8

FactorialRecursion

Prime Factorization

PythagoreanTriple

ConvolutionFFT

ParseInteger

Floor

Convolution

FFT

MinValue

Area

Perfect Square

Combinations

CircularConvolutionFFT

Number of Digits

Aliquot Sum

Prime Check

+2

AbsoluteMax

Find Min

PowRecursion

Perfect Cube

GCD

Ceil

GCDRecursion

Euler Method

AbsoluteMin

Fibonacci Numbers

+8

Sieve of Eratosthenes

MinimizingLateness

MinimizingLateness

Networking Flow

Ford Fulkerson

Others

BrianKernighanAlgorithm

SkylineProblem

WorstFit

PerlinNoise

CountWords

BestFit

StackPostfixNotation

RootPrecision

FirstFit

TopKWords

CRC32

ThreeSum

EulersFunction

Tower of Hanoi

Krishnamurthy

GuassLegendre

FibToN

ReverseStackUsingRecursion

CountChar

StringMatchFiniteAutomata

Linear Congruential Generator

TwoPointers

InsertDeleteInArray

PasswordGen

RemoveDuplicateFromString

FloydTriangle

ReturnSubsequence

CRCAlgorithm

LowestBasePalindrome

WordBoggle

RangeInSortedArray

MedianOfRunningArray

PalindromePrime

ColorContrastRatio

Searches

Linear Search

+10

Jump Search

+3

IterativeBinarySearch

SearchAlgorithm

Saddleback Search

Interpolation Search

+2

Ternary Search

+2

Binary Search

+11

PerfectBinarySearch

IterativeTernarySearch

Sorts

Heap Sort

+11

Bubble Sort

+15

Radix Sort

+7

Pancake Sort

+2

Gnome Sort

+3

BubbleSortRecursion

Selection Sort

+12

Shell Sort

+7

SortAlgorithm

Bogo Sort

+2

Merge Sort

+14

Cocktail Shaker Sort

Insertion Sort

+13

Comb Sort

+6

Cycle Sort

+1

SortUtils

Quick Sort

+13

Tim Sort

Bitonic Sort

Bucket Sort

+1

Counting Sort

+3

Strings

Levenshtein Distance

Rabin Karp

Lower

Palindrome

+1

Alphabetical

Pangram

Upper

CharactersSame

HorspoolSearch

ReverseString

Check Anagrams