The Algorithms logo
The Algorithms
AboutDonate
Backtracking

Knight Tour

AllCombinationsOfSizeK

GeneratePermutations

Bit Manipulation
Cache

Memoize

Cellular Automata

Conways Game of Life

Ciphers

CaesarsCipher

Xor Cipher

KeywordShiftedAlphabet

Vigenere Cipher

KeyFinder

Conversions

LowerCaseConversion

TitleCaseConversion

TemperatureConversion

HexToBinary

DecimalToHex

OctToDecimal

RomanToDecimal

ArrayBufferToBase64

Rgb Hsv Conversion

Decimal to Binary

Decimal to Octal

UpperCaseConversion

RailwayTimeConversion

DateDayDifference

Base64ToArrayBuffer

Binary to Decimal

MeterToFeetConversion

ArbitraryBase

BinaryToHex

HexToDecimal

DecimalToRoman

Data Structures
Dynamic Programming

FindMonthCalendar

Minimum Cost Path

MaxProductOfThree

Longest Common Subsequence

Max Non Adjacent Sum

NumberOfSubsetEqualToGivenSum

LongestValidParentheses

LongestPalindromicSubsequence

Longest Increasing Subsequence

TrappingRainWater

Fractals

Koch Snowflake

Mandelbrot

Geometry

ConvexHullGraham

Graphs

Depth First Search

NumberOfIslands

DepthFirstSearchRecursive

Bellman Ford

Connected Components

Density

DepthFirstSearchIterative

PrimMST

Dijkstra

Breadth First Search

KruskalMST

NodeNeighbors

DijkstraSmallestPath

Hashing
Math

Fibonacci Numbers

Sieve of Eratosthenes

Eulers Totient

SimpsonIntegration

FindHcf

Decimal Isolate

EulersTotientFunction

ModularBinaryExponentiationRecursive

ExtendedEuclideanGCD

Degrees to Radians

Prime Check

Softmax

GridGet

BinaryExponentiationIterative

Factors

Square Root

MeanSquareError

FareyApproximation

BinaryConvert

PermutationAndCombination

Perfect Square

Sieve of Eratosthenes

Volume

ReversePolishNotation

IsDivisible

Average Mean

Prime Factors

WhileLoopFactorial

MatrixMultiplication

MidpointIntegration

Number of Digits

Coordinate

LeapYear

Lucas Series

Perfect Cube

ArmstrongNumber

FigurateNumber

Average Median

BinaryExponentiationRecursive

GetEuclidGCD

CheckKishnamurthyNumber

Perfect Number

MatrixExponentiationRecursive

Euler Method

PiApproximationMonteCarlo

Sum of Digits

ReverseNumber

Sum of Geometric Progression

IsEven

Polynomial

CoPrimeCheck

Fibonacci Numbers

Aliquot Sum

PascalTriangle

Radians to Degrees

DigitSum

FindLcm

Navigation
Others

Lfu Cache

Lru Cache

Tower of Hanoi

Recursive

SubsequenceRecursive

FloodFill

EucledianGCD

FibonacciNumberRecursive

BinaryEquivalent

Searches

Quick Select

SlidingWindow

UnionFind

Fibonacci Search

Jump Search

Ternary Search

Binary Search

+12

More

Interpolation Search

Linear Search

+11

More

QuickSelectSearch

Exponential Search

StringSearch

Binary Search

+12

More
Sorts

Radix Sort

Insertion Sort

+14

More

FindSecondLargestElement

Tim Sort

HeapSortV2

Cycle Sort

Pancake Sort

FisherYatesShuffle

Bubble Sort

+15

More

Bead Sort

Merge Sort

+16

More

Intro Sort

Shell Sort

Bogo Sort

Quick Sort

+15

More

Selection Sort

+11

More

Heap Sort

+12

More

Gnome Sort

Wiggle Sort

Comb Sort

QuickSortRecursive

Counting Sort

Topological Sort

Bucket Sort

Cocktail Shaker Sort

Odd Even Sort

FlashSort

Pigeonhole Sort

Strings

Levenshtein Distance

KMPPatternSearching

CheckVowels

CheckFlatCase

Reverse Words

CheckWordOccurrence

CheckSnakeCase

DiceCoefficient

CheckRearrangePalindrome

AlphaNumericPalindrome

ValidateEmail

CheckPascalCase

CheckCamelCase

CreatePermutations

CheckAnagram

HammingDistance

Check Pangram

ReverseString

Levenshtein Distance

ScrambleStrings

GenerateGUID

MaxCharacter

PatternMatching

FormatPhoneNumber

Alternative String Arrange

CheckKebabCase

CheckPalindrome

Palindrome

Palindrome

Timing-Functions
Tree

BreadthFirstTreeTraversal