The Algorithms logoTheAlgorithms
AboutDonate
Backtracking

Knight Tour

Bit Manipulation

Binary Count Setbits

Cellular Automata

Conways Game of Life

Ciphers

Xor Cipher

Rot13

KeyFinder

Vigenere Cipher

KeywordShiftedAlphabet

Atbash

CaesarsCipher

Conversions

Rgb Hsv Conversion

Decimal to Binary

+1

HexToDecimal

ArbitraryBase

HexToRGB

Decimal to Octal

RGBToHex

RomanToDecimal

DecimalToHex

Binary to Decimal

+1

OctToDecimal

Data Structures

Binary Search Tree

+2

MinPriorityQueue

Circular Queue

QueueUsing2Stacks

SingleCircularLinkedList

Doubly Linked List

+3

Dynamic Programming

+7

Floyd Warshall

LongestValidParentheses

NumberOfSubsetEqualToGivenSum

ZeroOneKnapsack

Longest Increasing Subsequence

Max Non Adjacent Sum

TrappingRainWater

FindMonthCalendar

Minimum Cost Path

Longest Common Subsequence

Climbing Stairs

Edit Distance

+1

LongestPalindromicSubsequence

+7

Fractals

Mandelbrot

Koch Snowflake

Geometry

ConvexHullGraham

Graphs

Dijkstra

NumberOfIslands

KruskalMST

Breadth First Search

PrimMST

DijkstraSmallestPath

DepthFirstSearchIterative

DepthFirstSearchRecursive

NodeNeighbors

Connected Components

Density

Depth First Search

Hashing

SHA256

Linear Algebra
Math

PiApproximationMonteCarlo

Polynomial

Abs

+1

ModularBinaryExponentiationRecursive

MatrixExponentiationRecursive

BinaryConvert

DigitSum

Pow

BinaryExponentiationRecursive

IsDivisible

Prime Check

+2

Decimal Isolate

PermutationAndCombination

MeanSquareError

Sieve of Eratosthenes

Eulers Totient

WhileLoopFactorial

Euler Method

Perfect Cube

Prime Factors

Area

Fibonacci Numbers

+8

EulersTotientFunction

FindLcm

Perfect Square

Square Root

GridGet

Number of Digits

Factors

ArmstrongNumber

MatrixMultiplication

Perfect Number

isOdd

BinaryExponentiationIterative

Softmax

Average Mean

ReversePolishNotation

PascalTriangle

FindHcf

Fibonacci Numbers

+8

Sieve of Eratosthenes

Navigation

Haversine

Others

Lfu Cache

Lru Cache

Tower of Hanoi

Recursive

FibonacciNumberRecursive

EucledianGCD

FloodFill

Searches

Quick Select

Linear Search

+10

Binary Search

+11

StringSearch

Fibonacci Search

Exponential Search

QuickSelectSearch

Jump Search

+3

Interpolation Search

+2

Binary Search

+11

Sorts

HeapSortV2

Comb Sort

+6

Cycle Sort

+1

Bucket Sort

+1

Bead Sort

Selection Sort

+12

Radix Sort

+7

FindSecondLargestElement

Bubble Sort

+15

Gnome Sort

+3

Cocktail Shaker Sort

Odd Even Sort

Bogo Sort

+2

Topological Sort

Shell Sort

+7

Tim Sort

FlashSort

Intro Sort

Insertion Sort

+13

Heap Sort

+11

Pigeonhole Sort

Quick Sort

+13

Merge Sort

+14

Counting Sort

+3

Wiggle Sort

Strings

Palindrome

+1

Levenshtein Distance

CheckRearrangePalindrome

CheckAnagram

CheckWordOccurrence

PatternMatching

FormatPhoneNumber

CreatePermutations

ValidateEmail

GenerateGUID

MaxCharacter

KMPPatternSearching

CheckVowels

Levenshtein Distance

CheckPalindrome

ReverseString

Reverse Words

Check Pangram

Palindrome

+1

Timing-Functions

IntervalTimer

GetMonthDays

Tree

BreadthFirstTreeTraversal

Web Programming

StockPrice

OpenWeatherMaps