Skip to content

Algorithms

Search and filter the Atlas by algorithm behavior, governance metadata, and readiness.

Showing 1004 of 1004 algorithms

SortingO(n^2)

Bubble Sort

Sorts a list by repeatedly swapping neighboring items that are out of order.

BeginnerCoreNo formula2 links
Comparison SortIn PlaceStable SortClassic
SortingO(n^2)

Insertion Sort

Sorts a list by inserting each item into the correct position within the already-sorted prefix.

BeginnerFoundationNo formula7 links
Comparison SortIn PlaceStable SortClassic
SortingO(n^2)

Selection Sort

Sorts by repeatedly selecting the smallest remaining item.

BeginnerCoreNo formula4 links
Comparison SortIn PlaceClassic
SortingO(n log n)

Merge Sort

Sorts a list by recursively sorting halves and merging the sorted results.

IntermediateFoundationNo formula11 links
Comparison SortDivide and ConquerStable SortRecursion
SortingO(n log n)

Quick Sort

Sorts a list by partitioning values around a pivot and recursively sorting each side.

IntermediateFoundationNo formula6 links
Comparison SortDivide and ConquerIn PlaceRecursion
SortingO(n log n)

Heap Sort

Sorts a list by building a heap and repeatedly removing the highest-priority item.

IntermediateFoundationNo formula5 links
Comparison SortPriority QueueIn PlaceClassic
SortingO(n + k)

Counting Sort

Sorts integer values by counting how many times each value appears.

BeginnerCoreNo formula3 links
Integer DataStable SortClassic
SortingO(d(n + k))

Radix Sort

Sorts values by processing one digit or character position at a time.

IntermediateCoreNo formula4 links
Integer DataStable SortClassic
SortingO(n + k)

Bucket Sort

Sorts by distributing values into buckets and sorting within each bucket.

IntermediateCoreNo formula2 links
Bucket BasedInteger DataStable Sort
SortingO(n^1.5)

Shell Sort

Sorts by comparing items far apart, then gradually reducing the gap.

IntermediateCoreNo formula1 links
Comparison SortIn PlaceAdaptive Sort
SortingO(n log n)

Tim Sort

Sorts by detecting existing ordered runs and merging them with safeguards for real-world data.

AdvancedCoreNo formula3 links
Comparison SortStable SortAdaptive SortHybrid Sort
SearchingO(n)

Linear Search

Finds a target by checking items one by one until a match is found or the input ends.

BeginnerFoundationNo formula3 links
SearchLinear ScanClassic
SearchingO(log n)

Binary Search

Finds a target or insertion point in sorted data by repeatedly halving the candidate range.

BeginnerFoundationFormula19 links
SearchDivide and ConquerSorted DataClassic
SearchingO(log log n)

Interpolation Search

Searches sorted numeric data by estimating where the target should be.

IntermediateCoreFormula1 links
SearchSorted DataNumerical Methods
SearchingO(T log r)

Binary Search on Answer

Finds an optimal numeric answer by binary searching a monotone feasibility predicate.

IntermediateCoreFormula2 links
SearchOptimizationSorted Data
SearchingO(log i)

Exponential Search

Finds a search range by doubling the bound, then uses binary search inside it.

IntermediateCoreNo formula1 links
SearchSorted DataDivide and Conquer
SearchingO(log n)

Fibonacci Search

Searches sorted data using Fibonacci-sized partitions.

IntermediateCoreNo formula1 links
SearchSorted DataClassic
SearchingO(1)

Hash Lookup

Finds values by hashing keys directly to likely storage locations.

BeginnerCoreNo formula2 links
SearchHashingHash BasedData Structure
SearchingO(sqrt n)

Jump Search

Searches sorted data by jumping ahead in blocks before scanning a small block.

BeginnerCoreFormula1 links
SearchSorted DataLinear Scan
SearchingO(n)

Quickselect

Finds the kth smallest item by partitioning around pivots without fully sorting.

IntermediateCoreNo formula5 links
SearchOrder StatisticDivide and ConquerIn Place
SearchingO(log n)

Ternary Search

Finds an optimum in a unimodal range by comparing two interior points.

IntermediateCoreFormula1 links
SearchOptimizationNumerical Methods
Graph TraversalO(V + E)

Breadth-First Search

Explores a graph from a start node in increasing number of edges.

BeginnerFoundationNo formula25 links
GraphTraversalQueueClassic
Graph TraversalO(V + E)

Depth-First Search

Explores a graph by following one path as far as possible before backtracking.

BeginnerFoundationNo formula14 links
GraphTraversalStackRecursion
Graph TraversalO(V + E)

Topological Sort

Orders the nodes of a directed acyclic graph so every prerequisite appears before its dependents.

IntermediateFoundationNo formula9 links
GraphDirected Acyclic GraphTraversalClassic
Graph TraversalO(V + E)

Articulation Point Detection

Finds graph nodes whose removal would split a connected graph.

AdvancedSpecializedNo formula1 links
GraphArticulation PointGraph ConnectivityTraversal
Graph TraversalO(b^(d/2))

Bidirectional Search

Searches from both the start and goal until the frontiers meet.

IntermediateCoreNo formula4 links
GraphSearchBidirectional SearchTraversal
Graph TraversalO(V + E)

Connected Components

Groups graph nodes by which nodes can reach each other.

BeginnerCoreNo formula4 links
GraphGraph ConnectivityTraversal
Graph TraversalO(V + E)

Cycle Detection

Determines whether a graph contains a cycle.

BeginnerCoreNo formula3 links
GraphCycle DetectionTraversal
Graph TraversalO(b^d)

Iterative Deepening DFS

Runs depth-first search repeatedly with increasing depth limits.

IntermediateCoreNo formula2 links
GraphTraversalRecursionSearch
Graph TraversalO(V + E)

Kosaraju's Algorithm

Finds strongly connected components using two passes of depth-first search.

IntermediateSpecializedNo formula4 links
GraphStrongly Connected ComponentsTraversalRecursion
Graph TraversalO(V + E)

Tarjan's Strongly Connected Components

Finds strongly connected components in one depth-first search pass.

AdvancedSpecializedNo formula5 links
GraphStrongly Connected ComponentsStackTraversal
PathfindingO((V + E) log V)

Dijkstra's Algorithm

Finds shortest paths from one source in a graph with nonnegative edge weights.

IntermediateFoundationFormula23 links
Shortest PathWeighted GraphPriority QueueGraph
PathfindingO(E)

A* Search

Finds a low-cost path by combining path cost so far with a heuristic estimate to the goal.

IntermediateCoreFormula25 links
Shortest PathHeuristicGraphOptimization
PathfindingO(VE)

Bellman-Ford

Finds single-source shortest paths even when edges can have negative weights.

IntermediateCoreFormula6 links
Shortest PathWeighted GraphDynamic ProgrammingGraph
PathfindingO(V^3)

Floyd-Warshall

Finds shortest paths between every pair of nodes.

IntermediateCoreFormula4 links
Shortest PathAll PairsDynamic ProgrammingGraph
PathfindingO(E)

Greedy Best-First Search

Expands the node that appears closest to the goal by heuristic estimate.

BeginnerCoreFormula5 links
PathfindingHeuristic SearchGraphHeuristic
PathfindingO(E' log V')

Hierarchical Pathfinding

Speeds pathfinding by planning through coarse regions before refining locally.

AdvancedExtendedNo formula2 links
PathfindingHierarchical PlanningHeuristic Search
PathfindingO(VE log V)

Johnson's Algorithm

Finds all-pairs shortest paths in sparse graphs by reweighting edges.

AdvancedExtendedFormula7 links
Shortest PathAll PairsWeighted GraphGraph
PathfindingO(E)

Jump Point Search

Speeds up grid pathfinding by skipping over symmetric intermediate nodes.

AdvancedExtendedFormula3 links
PathfindingGrid SearchHeuristic SearchOptimization
PathfindingO(w h)

Lee Algorithm

Finds shortest paths on a grid by expanding wavefront distances.

BeginnerCoreFormula1 links
Shortest PathGrid SearchQueueClassic
PathfindingO(K V (E + V log V))

Yen's K Shortest Paths

Finds several shortest loopless paths between the same two nodes.

AdvancedExtendedFormula2 links
Shortest PathK Shortest PathsWeighted GraphGraph
CompressionO(n)

Run-Length Encoding

Compresses repeated consecutive values by storing each value with its run length.

BeginnerFoundationFormula4 links
CompressionEncodingClassic
CompressionO(n log n)

Huffman Coding

Builds a prefix code that gives shorter bit strings to more frequent symbols.

IntermediateFoundationFormula22 links
CompressionPrefix CodeGreedyTree
CompressionO(nw)

LZ77

Compresses repeated substrings by referring back to earlier bytes in a sliding window.

IntermediateCoreFormula8 links
CompressionSliding WindowDictionary CompressionClassic
CompressionO(n)

LZW

Compresses streams by replacing repeated phrases with dictionary codes built during encoding.

IntermediateCoreFormula5 links
CompressionDictionary CompressionEncodingClassic
CompressionO(n)

Arithmetic Coding

Encodes a message as a number inside a probability interval.

AdvancedExtendedFormula7 links
CompressionEntropy CodingEncoding
CompressionO(n)

Brotli

Compresses web content with dictionary references and entropy coding.

AdvancedExtendedNo formula3 links
CompressionDictionary CompressionEntropy Coding
CompressionO(n log n)

Burrows-Wheeler Transform

Reorders text so similar characters become easier to compress.

AdvancedExtendedFormula5 links
CompressionTransform CodingStrings
CompressionO(n)

Deflate

Compresses data by combining LZ77 backreferences with Huffman-coded symbols.

IntermediateCoreFormula5 links
CompressionDictionary CompressionEntropy CodingEncoding
CompressionO(n)

Delta Encoding

Stores changes between neighboring values instead of the values themselves.

BeginnerCoreFormula3 links
CompressionDelta CodingEncoding
CompressionO(n)

Golomb Coding

Encodes small nonnegative integers compactly when small values are common.

IntermediateExtendedFormula3 links
CompressionInteger DataEncoding
CompressionO(nk)

Prediction by Partial Matching

Compresses by predicting the next symbol from recent context.

AdvancedSpecializedFormula3 links
CompressionPredictive CodingEntropy Coding
CryptographyO(k^3)

RSA

Uses modular arithmetic with a public key and private key for encryption or signatures.

AdvancedFoundationFormula8 links
CryptographyPublic KeySecurity
CryptographyO(k^3)

Diffie-Hellman Key Exchange

Lets two parties derive a shared secret over an insecure channel.

AdvancedFoundationFormula8 links
CryptographyKey ExchangePublic KeySecurity
CryptographyO(n)

AES

Encrypts fixed-size blocks with a symmetric key using repeated substitution and permutation rounds.

AdvancedFoundationFormula11 links
CryptographySymmetric KeySecurity
CryptographyO(n)

SHA-256

Computes a fixed 256-bit cryptographic hash of an input message.

AdvancedFoundationFormula9 links
CryptographyHashingSecurity
CryptographyO(mt)

Argon2

Hashes passwords with tunable memory and time cost.

IntermediateCoreFormula4 links
CryptographyPassword HashingSecurity
CryptographyO(n)

ChaCha20

Encrypts data with a fast stream cipher built from add-rotate-xor rounds.

AdvancedCoreFormula3 links
CryptographyStream CipherSymmetric KeySecurity
CryptographyO(k^2)

EdDSA

Creates deterministic elliptic-curve signatures on Edwards curves.

AdvancedSpecializedFormula4 links
CryptographyElliptic CurveDigital SignatureSecurity
CryptographyO(k^2)

Elliptic Curve Diffie-Hellman

Establishes a shared secret using elliptic-curve key exchange.

AdvancedExtendedFormula4 links
CryptographyElliptic CurveKey ExchangeSecurity
CryptographyO(k^2)

Elliptic Curve Digital Signature Algorithm

Creates digital signatures with elliptic-curve keys.

AdvancedSpecializedFormula4 links
CryptographyElliptic CurveDigital SignatureSecurity
CryptographyO(n)

HMAC

Authenticates messages by combining a hash function with a shared secret key.

IntermediateCoreFormula7 links
CryptographyMessage AuthenticationHashingSecurity
OptimizationO(tg)

Gradient Descent

Minimizes an objective by repeatedly moving parameters opposite the gradient.

IntermediateFoundationFormula21 links
OptimizationIterativeMachine Learning
OptimizationO(t)

Newton's Method

Finds a root or optimum by repeatedly using local derivative information to form a better approximation.

IntermediateFoundationFormula22 links
OptimizationIterativeRoot FindingNumerical Methods
OptimizationO(t)

Simulated Annealing

Searches for good solutions while sometimes accepting worse moves early on.

IntermediateCoreFormula5 links
OptimizationMetaheuristicStochasticLocal Search
OptimizationO(gpf)

Genetic Algorithm

Evolves a population of candidate solutions through selection and variation.

IntermediateCoreFormula8 links
OptimizationMetaheuristicPopulation BasedStochastic
OptimizationO(tp)

Adam Optimizer

Adapts gradient updates using moving averages of gradients and squared gradients.

IntermediateCoreFormula6 links
OptimizationGradient BasedMachine Learning
OptimizationO(b^d)

Branch and Bound

Searches solution branches while pruning branches that cannot improve the best result.

AdvancedCoreFormula6 links
OptimizationBranch and BoundConstraint Solving
OptimizationO(tp)

Coordinate Descent

Optimizes one parameter or coordinate at a time.

IntermediateCoreFormula2 links
OptimizationIterativeLocal Search
OptimizationO(poly practical)

Linear Programming Simplex Method

Optimizes a linear objective by moving between vertices of a feasible region.

AdvancedCoreFormula7 links
OptimizationLinear ProgrammingClassic
OptimizationO(t p)

Nelder-Mead

Optimizes without derivatives by moving a simplex through the search space.

IntermediateCoreFormula2 links
OptimizationDerivative FreeLocal Search
OptimizationO(tbg)

Stochastic Gradient Descent

Updates parameters using gradients from one example or a small batch at a time.

IntermediateCoreFormula7 links
OptimizationGradient BasedMachine LearningStochastic
Machine LearningO(ndt)

Linear Regression

Fits a linear model that predicts a numeric target from input features.

BeginnerFoundationFormula11 links
Machine LearningSupervised LearningRegressionOptimization
Machine LearningO(ndt)

Logistic Regression

Models class probability by applying a logistic function to a linear score.

BeginnerFoundationFormula5 links
Machine LearningSupervised LearningClassificationOptimization
Machine LearningO(nkt)

K-Means

Clusters points by alternating between assigning points to nearest centroids and updating those centroids.

BeginnerFoundationFormula7 links
Machine LearningUnsupervised LearningClusteringIterative
Machine LearningO(n d log n)

Decision Tree

Predicts by recursively splitting examples with feature tests into simpler subgroups.

BeginnerFoundationFormula6 links
Machine LearningSupervised LearningClassificationTree
Machine LearningO(t n d log n)

Random Forest

Builds an ensemble of decision trees trained on random samples and feature subsets.

IntermediateCoreFormula5 links
Machine LearningEnsembleClassificationTree
Machine LearningO(w)

Backpropagation

Computes neural-network gradients by applying the chain rule backward through layers.

AdvancedFoundationFormula12 links
Machine LearningNeural NetworksOptimization
Machine LearningO(n log n)

DBSCAN

Clusters points by dense neighborhoods and labels sparse points as noise.

IntermediateCoreFormula2 links
Machine LearningClusteringDensity BasedUnsupervised Learning
Machine LearningO(nd)

K-Nearest Neighbors

Predicts from the labels or values of the closest training examples.

BeginnerCoreFormula1 links
Machine LearningNearest NeighborClassification
Machine LearningO(nd)

Naive Bayes

Classifies examples using feature probabilities and a simplifying independence assumption.

BeginnerCoreFormula2 links
Machine LearningClassificationSupervised Learning
Machine LearningO(nd^2 + d^3)

Principal Component Analysis

Projects data onto orthogonal directions that capture the largest variance.

IntermediateCoreFormula7 links
Machine LearningDimensionality ReductionLinear Algebra
Machine LearningO(n^2 d)

Support Vector Machine

Learns a separating decision boundary by maximizing the margin around support vectors.

IntermediateCoreFormula4 links
Machine LearningClassificationSupervised LearningOptimization
RenderingO(p)

Rasterization

Converts geometric shapes into pixels on a screen.

IntermediateFoundationFormula11 links
GraphicsGeometryVisibilityClassic
RenderingO(p r log n)

Ray Tracing

Renders images by tracing rays from the camera into a scene.

AdvancedFoundationFormula20 links
GraphicsGeometryVisibilityRecursion
RenderingO(p s b log n)

Path Tracing

Simulates light transport by sampling random paths through a scene.

AdvancedSpecializedFormula13 links
GraphicsGlobal IlluminationStochasticAdvanced
RenderingO(f)

Z-Buffering

Keeps the closest visible fragment for each pixel.

BeginnerFoundationFormula7 links
GraphicsVisibilityClassic
RenderingO(p s)

Ambient Occlusion

Darkens areas where nearby geometry blocks ambient light.

IntermediateCoreFormula3 links
GraphicsAmbient OcclusionLighting
RenderingO(n)

Marching Cubes

Extracts a triangle surface from a 3D scalar field.

AdvancedExtendedFormula3 links
GraphicsSurface ExtractionGeometry
RenderingO((p + s) log n)

Photon Mapping

Simulates global illumination by tracing photons from light sources.

AdvancedSpecializedFormula2 links
GraphicsGlobal IlluminationLighting
RenderingO(p s)

Ray Marching

Renders by stepping along rays until they hit or pass through scene features.

AdvancedExtendedFormula4 links
GraphicsRay MarchingGeometry
RenderingO(p + e)

Scanline Rendering

Renders polygons row by row across the image.

IntermediateCoreFormula3 links
GraphicsVisibilityClassic
RenderingO(p s)

Screen Space Ambient Occlusion

Approximates ambient occlusion from the visible depth buffer.

IntermediateSpecializedFormula3 links
GraphicsAmbient OcclusionReal Time
RenderingO(f)

Shadow Mapping

Creates shadows by comparing camera pixels with depth from the light's view.

IntermediateCoreFormula6 links
GraphicsShadowVisibility
RenderingO(p s)

Sphere Tracing

Ray marches signed distance fields using safe distance steps.

AdvancedExtendedFormula4 links
GraphicsRay MarchingGeometry
SimulationO(t)

Euler Integration

Approximates motion by stepping forward using the current rate of change.

BeginnerFoundationFormula17 links
SimulationPhysicsNumerical IntegrationIterative
SimulationO(t)

Verlet Integration

Updates motion using current and previous positions.

IntermediateCoreFormula6 links
SimulationPhysicsNumerical Integration
SimulationO(t)

Runge-Kutta Method

Approximates differential equations by sampling several slopes per step.

IntermediateFoundationFormula4 links
SimulationNumerical IntegrationNumerical Methods
SimulationO(t)

Monte Carlo Simulation

Estimates outcomes by running many random trials.

BeginnerFoundationFormula7 links
SimulationStochasticSamplingRandomness
SimulationO(t n)

Cellular Automata

Updates grid cells from simple local rules.

BeginnerExtendedFormula4 links
SimulationCellular AutomataGrid Search
SimulationO(t n)

Finite Difference Method

Approximates differential equations with differences on a grid.

IntermediateCoreFormula6 links
SimulationNumerical MethodsMesh Method
SimulationO(n^2)

N-Body Simulation

Simulates many bodies interacting through forces such as gravity.

IntermediateExtendedFormula4 links
SimulationPhysicsParticles
SimulationO(i c)

Position Based Dynamics

Simulates motion by directly adjusting positions to satisfy constraints.

AdvancedExtendedFormula5 links
SimulationPhysicsConstraint Solving
SimulationO(t)

Semi-Implicit Euler

Updates velocity before position for a more stable Euler-style physics step.

BeginnerCoreFormula3 links
SimulationPhysicsNumerical Integration
SimulationO(n k)

Smoothed Particle Hydrodynamics

Simulates fluids with particles that estimate local density and pressure.

AdvancedSpecializedFormula4 links
SimulationFluid SimulationParticlesPhysics
Numerical MethodsO(log((b-a)/e))

Bisection Method

Finds a root by repeatedly halving an interval that contains it.

BeginnerFoundationFormula5 links
Numerical MethodsRoot FindingIterativeClassic
Numerical MethodsO(n^3)

Gaussian Elimination

Solves linear systems by eliminating variables row by row.

IntermediateFoundationFormula4 links
Numerical MethodsLinear AlgebraClassic
Numerical MethodsO(n^3)

LU Decomposition

Factors a matrix into lower and upper triangular matrices.

IntermediateCoreFormula5 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n log n)

Fast Fourier Transform

Computes the discrete Fourier transform efficiently by reusing symmetry and subproblem structure.

AdvancedFoundationFormula5 links
Numerical MethodsFrequency DomainDivide and ConquerSignal Processing
Numerical MethodsO(k n)

Conjugate Gradient

Solves large symmetric positive-definite linear systems with iterative search directions.

AdvancedExtendedFormula7 links
Numerical MethodsLinear AlgebraIterative SolverOptimization
Numerical MethodsO(t)

Fixed Point Iteration

Solves equations by repeatedly applying a function until the value stops changing.

BeginnerExtendedFormula2 links
Numerical MethodsIterativeRoot Finding
Numerical MethodsO(t n^2)

Gauss-Seidel Method

Solves linear systems by updating variables immediately as new values are available.

IntermediateCoreFormula5 links
Numerical MethodsLinear AlgebraIterative Solver
Numerical MethodsO(t n^2)

Jacobi Method

Solves linear systems by repeatedly updating each variable from the previous iteration.

IntermediateCoreFormula4 links
Numerical MethodsLinear AlgebraIterative Solver
Numerical MethodsO(t)

Secant Method

Finds roots using a line through two recent estimates.

IntermediateCoreFormula5 links
Numerical MethodsRoot FindingIterative
Numerical MethodsO(n)

Simpson's Rule

Approximates an integral by fitting parabolas over intervals.

BeginnerCoreFormula4 links
Numerical MethodsQuadratureNumerical Integration
Signal ProcessingO(nk)

Convolution

Combines two signals or arrays by sliding one over the other and summing pointwise products.

BeginnerFoundationFormula5 links
Signal ProcessingFilteringImage Processing
Signal ProcessingO(n^2)

Discrete Fourier Transform

Represents a finite sequence as weighted sums of discrete complex sinusoids.

IntermediateFoundationFormula19 links
Signal ProcessingFrequency DomainNumerical Methods
Signal ProcessingO(n^3)

Kalman Filter

Estimates hidden state by blending predictions with noisy measurements.

AdvancedExtendedFormula1 links
Signal ProcessingEstimationFiltering
Signal ProcessingO(n)

Moving Average

Smooths a sequence by replacing each value with an average over a nearby window.

BeginnerFoundationFormula5 links
Signal ProcessingFilteringSmoothing
Signal ProcessingO(n^2)

Autocorrelation

Measures how similar a signal is to shifted versions of itself.

IntermediateExtendedFormula3 links
Signal ProcessingCorrelationTime Frequency
Signal ProcessingO(n)

High-Pass Filter

Attenuates low-frequency signal components while preserving rapid changes.

BeginnerCoreFormula3 links
Signal ProcessingFilteringHigh Pass
Signal ProcessingO(n log n)

Inverse Fast Fourier Transform

Reconstructs time-domain samples from frequency-domain coefficients efficiently.

AdvancedExtendedFormula3 links
Signal ProcessingFrequency DomainInverse Transform
Signal ProcessingO(n)

Low-Pass Filter

Attenuates high-frequency signal components while preserving slower variations.

BeginnerCoreFormula5 links
Signal ProcessingFilteringLow PassSmoothing
Signal ProcessingO(n k log k)

Median Filter

Replaces each sample or pixel with the median of a local neighborhood.

BeginnerCoreFormula2 links
Signal ProcessingMedian FilterFilteringSmoothing
Signal ProcessingO(m w log w)

Short-Time Fourier Transform

Analyzes frequency content over short moving windows of time.

IntermediateExtendedFormula4 links
Signal ProcessingTime FrequencyFrequency DomainWindow Function
Signal ProcessingO(n)

Windowing

Shapes a signal segment before frequency analysis to reduce edge artifacts.

BeginnerCoreFormula4 links
Signal ProcessingWindow FunctionFrequency Domain
GeometryO(n log n)

Convex Hull

Finds the smallest convex boundary that contains a set of points.

IntermediateFoundationFormula21 links
GeometryComputational GeometryPolygons
GeometryO(n log n)

Graham Scan

Computes a convex hull by sorting points by angle and keeping valid turns.

IntermediateCoreFormula4 links
GeometryComputational GeometryPolygonsClassic
GeometryO(1)

Line Segment Intersection

Determines whether two line segments cross or touch.

BeginnerFoundationFormula11 links
GeometryComputational Geometry
GeometryO(n)

Point in Polygon

Tests whether a point lies inside a polygon.

BeginnerFoundationFormula5 links
GeometryPolygonsComputational Geometry
GeometryO(n log n)

Delaunay Triangulation

Triangulates points so triangles avoid skinny angles as much as possible.

AdvancedCoreFormula5 links
GeometryTriangulationComputational Geometry
GeometryO(nh)

Jarvis March

Finds a convex hull by wrapping around the outside point by point.

BeginnerCoreFormula4 links
GeometryComputational GeometryPolygons
GeometryO(n log n)

Quickhull

Finds a convex hull by recursively choosing farthest outside points.

IntermediateCoreFormula4 links
GeometryComputational GeometryDivide and Conquer
GeometryO(a v)

Separating Axis Theorem

Tests convex shape overlap by looking for an axis that separates them.

IntermediateCoreFormula3 links
GeometryCollision DetectionComputational Geometry
GeometryO((n + k) log n)

Sweep Line Algorithm

Processes geometric events in sorted order as a line moves across the plane.

AdvancedCoreNo formula6 links
GeometrySweep LineComputational Geometry
GeometryO(n log n)

Voronoi Diagram

Partitions space into regions closest to each input site.

AdvancedCoreFormula9 links
GeometryComputational GeometrySpatial Index
SchedulingO(n + c)

Round Robin Scheduling

Gives each ready task a fixed time slice in cyclic order.

BeginnerFoundationFormula20 links
SchedulingOperating SystemsQueue
SchedulingO(n log n)

Earliest Deadline First

Runs the ready task with the nearest deadline first.

IntermediateCoreFormula7 links
SchedulingReal TimeGreedy
SchedulingO(n log n)

Shortest Job First

Runs the ready task with the smallest expected processing time.

BeginnerCoreNo formula6 links
SchedulingOperating SystemsGreedy
SchedulingO(V + E)

Critical Path Method

Finds the longest dependency path that determines a project's minimum completion time.

IntermediateCoreFormula3 links
SchedulingDirected Acyclic GraphTask Scheduling
SchedulingO(n log n)

First Come First Served Scheduling

Runs tasks in the order they arrive.

BeginnerExtendedNo formula1 links
SchedulingQueueOperating Systems
SchedulingO(n log n)

Least Laxity First

Runs the task with the least spare time before its deadline.

IntermediateExtendedFormula2 links
SchedulingReal TimeTask Scheduling
SchedulingO(n + c)

Multilevel Feedback Queue

Uses several priority queues and moves tasks based on their behavior.

IntermediateExtendedNo formula1 links
SchedulingOperating SystemsQueue
SchedulingO(n log n)

Priority Scheduling

Runs the ready task with the highest priority.

BeginnerCoreNo formula2 links
SchedulingPriority QueueOperating Systems
SchedulingO(n log n)

Rate Monotonic Scheduling

Assigns higher priority to periodic tasks with shorter periods.

IntermediateExtendedNo formula3 links
SchedulingReal TimeTask Scheduling
SchedulingO(t)

Work Stealing

Balances parallel work by letting idle workers take tasks from busy workers.

IntermediateExtendedNo formula1 links
SchedulingLoad BalancingTask Scheduling
Pattern MatchingO(nm)

Naive String Search

Finds a pattern by checking every possible starting position.

BeginnerFoundationFormula4 links
Pattern MatchingStringsLinear ScanClassic
Pattern MatchingO(n + m)

Knuth-Morris-Pratt

Finds pattern matches in text by using a prefix table to skip redundant comparisons.

IntermediateFoundationFormula17 links
Pattern MatchingStringsClassic
Pattern MatchingO(n)

Boyer-Moore

Searches text by comparing from the end of the pattern and making large skips.

IntermediateCoreFormula5 links
Pattern MatchingStringsHeuristic
Pattern MatchingO(n + m)

Rabin-Karp

Searches for a pattern by comparing rolling hash values.

IntermediateCoreFormula3 links
Pattern MatchingStringsRolling HashHashing
Pattern MatchingO(n + m + z)

Aho-Corasick

Finds many patterns in one text scan using an automaton.

AdvancedCoreFormula5 links
Pattern MatchingStringsAutomatonPrefix Tree
Pattern MatchingO(nm)

Levenshtein Distance

Measures how many insertions, deletions, or substitutions transform one string into another.

IntermediateCoreFormula11 links
Pattern MatchingStringsEdit DistanceDynamic Programming
Pattern MatchingO(nm)

Needleman-Wunsch

Globally aligns two sequences with dynamic programming.

IntermediateCoreFormula6 links
Pattern MatchingSequence AlignmentDynamic Programming
Pattern MatchingO(nm)

Regular Expression Matching

Matches text against patterns with operators such as choice, repetition, and character classes.

IntermediateCoreFormula3 links
Pattern MatchingStringsAutomaton
Pattern MatchingO(m log n)

Suffix Array Search

Finds substrings by binary searching a sorted array of suffixes.

AdvancedExtendedFormula5 links
Pattern MatchingStringsSuffix IndexSorted Data
Pattern MatchingO(n)

Z Algorithm

Computes how much each string suffix matches the string prefix.

IntermediateCoreFormula2 links
Pattern MatchingStringsClassic
Data StructuresO(1)

Hash Table

Stores key-value pairs in buckets chosen by a hash function for fast average-case lookup.

BeginnerFoundationFormula16 links
Data StructureHash BasedHashing
Data StructuresO(log n)

Binary Search Tree

Stores ordered keys in a tree where left descendants are smaller and right descendants are larger.

BeginnerFoundationNo formula8 links
Data StructureTreeSearch
Data StructuresO(log n)

Heap

Maintains a partial order so the minimum or maximum item can be found quickly.

BeginnerFoundationNo formula10 links
Data StructureTreePriority Queue
Data StructuresO(m)

Trie

Stores strings by sharing prefixes along paths through a tree.

BeginnerFoundationNo formula6 links
Data StructureTreePrefix TreeStrings
Data StructuresO(log n)

B-Tree

Stores sorted keys in wide balanced nodes for efficient disk or page access.

AdvancedCoreNo formula2 links
Data StructureBalanced TreeSorted Data
Data StructuresO(k)

Bloom Filter

Tests set membership with a compact bit array that allows false positives but not false negatives.

IntermediateCoreFormula5 links
Data StructureProbabilistic Data StructureHashing
Data StructuresO(log n)

Fenwick Tree

Maintains prefix aggregates in an array using index ranges encoded by low bits.

IntermediateCoreFormula3 links
Data StructureRange QueryInteger Data
Data StructuresO(log n)

Red-Black Tree

Maintains a balanced binary search tree with color rules.

AdvancedCoreNo formula7 links
Data StructureBalanced TreeTreeSorted Data
Data StructuresO(log n)

Segment Tree

Maintains aggregate values over intervals by storing summaries in a binary tree.

IntermediateCoreNo formula6 links
Data StructureRange QueryTree
Data StructuresO(alpha(n))

Union-Find

Maintains disjoint sets with near-constant-time find and union operations.

IntermediateCoreNo formula9 links
Data StructureGraph ConnectivityTree
Image ProcessingO(w h)

Sobel Edge Detection

Finds edges by measuring horizontal and vertical brightness changes.

BeginnerCoreFormula3 links
Image ProcessingEdge DetectionFiltering
Image ProcessingO(w h k)

Gaussian Blur

Smooths an image by convolving it with a Gaussian kernel.

BeginnerCoreFormula17 links
Image ProcessingSmoothingFiltering
Image ProcessingO(w h)

Thresholding

Separates pixels into groups based on whether they cross a chosen value.

BeginnerFoundationFormula3 links
Image ProcessingSegmentationClassic
Image ProcessingO(a)

Flood Fill

Fills a connected region starting from one seed point.

BeginnerFoundationNo formula2 links
Image ProcessingSegmentationGraphTraversal
Image ProcessingO(w h k)

Bilateral Filter

Smooths images while preserving edges by considering distance and color similarity.

IntermediateExtendedFormula1 links
Image ProcessingFilteringSmoothing
Image ProcessingO(w h)

Canny Edge Detection

Finds thin edges by smoothing, measuring gradients, suppressing nonmaxima, and linking thresholds.

IntermediateCoreFormula7 links
Image ProcessingEdge DetectionFiltering
Image ProcessingO(w h + k)

Histogram Equalization

Improves contrast by spreading image intensities across the available range.

BeginnerCoreFormula1 links
Image ProcessingSegmentationClassic
Image ProcessingO(p a)

Hough Transform

Detects shapes by voting in a parameter space.

IntermediateExtendedFormula1 links
Image ProcessingEdge DetectionGeometry
Image ProcessingO(w h)

Laplacian Edge Detection

Finds edges by measuring second-order brightness changes.

BeginnerExtendedFormula2 links
Image ProcessingEdge DetectionFiltering
Image ProcessingO(w h k)

Morphological Erosion

Shrinks bright or foreground regions using a local structuring element.

BeginnerExtendedFormula2 links
Image ProcessingMorphologySegmentation
Randomness & SamplingO(n)

Fisher-Yates Shuffle

Randomly shuffles a list so every ordering is equally likely.

BeginnerFoundationFormula4 links
RandomnessShuffleIn Place
Randomness & SamplingO(n)

Reservoir Sampling

Selects a fixed-size random sample from a stream of unknown length.

IntermediateFoundationFormula4 links
RandomnessSamplingLinear Scan
Randomness & SamplingO(k / a)

Rejection Sampling

Samples from a target distribution by rejecting some easier samples.

IntermediateCoreFormula14 links
RandomnessSamplingStochastic
Randomness & SamplingO(k)

Importance Sampling

Estimates quantities by sampling more often from important regions.

AdvancedCoreFormula8 links
RandomnessSamplingStochasticEstimation
Randomness & SamplingO(1)

Box-Muller Transform

Generates normally distributed random values from uniform random values.

BeginnerCoreFormula4 links
RandomnessSamplingNormal Distribution
Randomness & SamplingO(1)

Linear Congruential Generator

Generates pseudorandom numbers with a simple linear recurrence.

BeginnerCoreFormula9 links
RandomnessPseudorandom GeneratorClassic
Randomness & SamplingO(1)

Mersenne Twister

Generates pseudorandom numbers with a very long period.

IntermediateCoreFormula5 links
RandomnessPseudorandom GeneratorSimulation
Randomness & SamplingO(t)

Metropolis-Hastings

Samples from a target distribution by accepting or rejecting proposed moves.

AdvancedExtendedFormula6 links
SamplingMarkov Chain Monte CarloStochasticEstimation
Randomness & SamplingO(n)

Poisson Disk Sampling

Places random points while keeping a minimum distance between them.

IntermediateCoreFormula2 links
RandomnessSpatial SamplingSampling
Randomness & SamplingO(n)

Stratified Sampling

Samples separately from groups so each group is represented.

BeginnerCoreFormula6 links
SamplingRandomnessEstimation
ParsingO(n)

Recursive Descent Parsing

Parses input with one function per grammar rule.

IntermediateFoundationNo formula20 links
ParsingRecursionGrammar
ParsingO(n)

Pratt Parsing

Parses expressions by assigning binding powers to tokens and recursing by precedence.

IntermediateCoreNo formula5 links
ParsingStringsGrammar
ParsingO(n^3 |G|)

CYK Algorithm

Checks whether a string can be generated by a context-free grammar.

AdvancedSpecializedFormula2 links
ParsingGrammarDynamic Programming
ParsingO(n)

Dijkstra's Two-Stack Algorithm

Evaluates fully parenthesized expressions with separate stacks for operators and values.

BeginnerCoreFormula2 links
ParsingExpression ParsingStack
ParsingO(n^2)

Earley Parser

Parses general context-free grammars with a chart of partial parse states.

AdvancedSpecializedNo formula3 links
ParsingChart ParsingGrammarDynamic Programming
ParsingO(n)

LL Parsing

Parses input from left to right using leftmost derivations.

IntermediateCoreNo formula3 links
ParsingTop-Down ParsingGrammar
ParsingO(n)

LR Parsing

Parses input bottom-up with shift and reduce actions.

AdvancedCoreNo formula8 links
ParsingBottom-Up ParsingGrammarStack
ParsingO(n)

Operator Precedence Parsing

Parses expressions by comparing precedence relations between operators.

IntermediateCoreNo formula1 links
ParsingExpression ParsingBottom-Up Parsing
ParsingO(n)

Packrat Parsing

Parses with memoized recursive descent for linear-time parsing expression grammars.

AdvancedExtendedNo formula2 links
ParsingMemoizationTop-Down Parsing
ParsingO(n)

Shunting Yard Algorithm

Converts infix expressions to postfix form using operator and output stacks.

IntermediateCoreNo formula2 links
ParsingExpression ParsingStackClassic
Procedural GenerationO(1)

Perlin Noise

Generates smooth random-looking variation over space.

IntermediateFoundationFormula8 links
Procedural GenerationNoiseGraphics
Procedural GenerationO(1)

Simplex Noise

Generates coherent noise using simplex-shaped grid cells.

AdvancedCoreNo formula3 links
Procedural GenerationNoiseGraphics
Procedural GenerationO(c r)

Wave Function Collapse

Generates layouts by repeatedly choosing low-uncertainty cells and propagating constraints.

AdvancedSpecializedNo formula6 links
Procedural GenerationConstraint SolvingStochastic
Procedural GenerationO(n log n)

Binary Space Partitioning Dungeon Generation

Builds dungeon rooms by recursively splitting space into partitions.

IntermediateExtendedNo formula3 links
Procedural GenerationDungeon GenerationTree
Procedural GenerationO(t n)

Cellular Automata Cave Generation

Creates cave-like maps by smoothing random grids with neighbor rules.

BeginnerExtendedNo formula4 links
Procedural GenerationCellular AutomataDungeon Generation
Procedural GenerationO(n)

Diamond-Square Algorithm

Generates fractal height maps by alternating square and diamond averaging steps.

IntermediateExtendedNo formula4 links
Procedural GenerationTerrainFractalRandomness
Procedural GenerationO(o)

Domain Warping

Distorts sampling coordinates with another noise field before evaluating procedural patterns.

IntermediateCoreFormula3 links
Procedural GenerationNoiseGraphics
Procedural GenerationO(s)

Drunkard's Walk

Generates paths or caves by moving a random walker through a grid.

BeginnerExtendedNo formula4 links
Procedural GenerationRandomnessDungeon Generation
Procedural GenerationO(o)

Fractal Brownian Motion

Layers noise at multiple frequencies to create richer natural variation.

IntermediateCoreFormula6 links
Procedural GenerationNoiseFractal
Procedural GenerationO(n g)

L-System

Generates structures by repeatedly rewriting symbols with grammar rules.

BeginnerExtendedNo formula5 links
Procedural GenerationGrammar GenerationFractal
SortingO(n log n)

External Sort

Sorts data sets that are too large to fit in memory by sorting chunks and merging them from disk.

AdvancedExtendedNo formula1 links
SortingExternal MemoryDivide and Conquer
SearchingO(log n)

Lower Bound

Finds the first sorted position where a value could be inserted without breaking order.

BeginnerCoreFormula2 links
SearchSorted DataDivide and Conquer
SearchingO(n)

Median of Medians

Selects a pivot that guarantees linear-time selection in the worst case.

AdvancedExtendedFormula2 links
SearchSelectionDivide and ConquerOrder Statistic
Graph TraversalDepends on algorithm

Minimum Spanning Tree

Connects all nodes in a weighted graph with the lowest total edge cost and no cycles.

IntermediateCoreFormula7 links
GraphWeighted GraphMinimum Spanning TreeGreedy
Graph TraversalO(E log E)

Kruskal's Algorithm

Builds a minimum spanning tree by adding the cheapest edges that do not create cycles.

IntermediateCoreFormula7 links
GraphWeighted GraphMinimum Spanning TreeGreedy
Graph TraversalO(E log V)

Prim's Algorithm

Builds a minimum spanning tree by repeatedly attaching the cheapest edge from the tree to a new node.

IntermediateCoreFormula5 links
GraphWeighted GraphMinimum Spanning TreePriority Queue
Graph TraversalO(V + E)

Dynamic Programming on DAGs

Solves graph problems by processing directed acyclic graph nodes in dependency order.

IntermediateCoreFormula3 links
GraphDirected Acyclic GraphDynamic ProgrammingTraversal
PathfindingO(V + E)

Acyclic Shortest Path

Finds shortest paths in a weighted DAG by relaxing edges in topological order.

IntermediateCoreFormula2 links
Shortest PathDirected Acyclic GraphDynamic ProgrammingWeighted Graph
PathfindingO(G log G)

Flow Field Pathfinding

Guides many agents toward a goal by precomputing a direction field over a grid.

IntermediateCoreFormula3 links
PathfindingGrid SearchGraphSimulation
PathfindingO(E log V)

Theta*

Finds smoother grid paths by allowing line-of-sight shortcuts during A* search.

AdvancedSpecializedFormula4 links
PathfindingHeuristic SearchGrid SearchVisibility
PathfindingO(E log V) per repair in worst case

D* Lite

Repairs shortest paths efficiently when edge costs change during navigation.

AdvancedSpecializedFormula6 links
PathfindingHeuristic SearchPath ReplanningGraph
CompressionO(n)

ANS Coding

Encodes symbols near entropy limits using a single integer state machine.

AdvancedSpecializedFormula3 links
CompressionEntropy CodingEncodingBit Level
CompressionO(n)

Range Coding

Compresses symbols by narrowing a numeric range according to their probabilities.

AdvancedSpecializedFormula4 links
CompressionEntropy CodingEncoding
CompressionO(n)

Bit-Packing

Stores small integer values using only the number of bits they need.

IntermediateExtendedFormula2 links
CompressionBit LevelInteger DataEncoding
CryptographyO(n)

BLAKE3

Computes a fast cryptographic hash using a tree structure that can run in parallel.

AdvancedExtendedFormula4 links
CryptographyHashingHash FunctionSecurity
CryptographyO(n)

HKDF

Derives strong key material from shared secrets using HMAC-based extract and expand steps.

IntermediateExtendedFormula5 links
CryptographyKey DerivationMessage AuthenticationSecurity
CryptographyO(t^2)

Shamir's Secret Sharing

Splits a secret into shares so only a threshold number of shares can reconstruct it.

AdvancedSpecializedFormula3 links
CryptographySecret SharingSecurityInterpolation
OptimizationO(k n^2)

BFGS

Optimizes smooth functions by updating an approximation of second-order curvature.

AdvancedSpecializedFormula6 links
OptimizationQuasi-NewtonGradient BasedIterative
OptimizationO(k m n)

L-BFGS

Runs BFGS-style optimization while storing only a limited history of curvature updates.

AdvancedSpecializedFormula3 links
OptimizationQuasi-NewtonGradient BasedMachine Learning
OptimizationO(k n^3)

Levenberg-Marquardt

Solves nonlinear least-squares problems by blending Gauss-Newton steps with damping.

AdvancedSpecializedFormula2 links
OptimizationTrust RegionGradient BasedRegression
OptimizationPolynomial for many convex forms

Interior Point Method

Solves constrained optimization problems by moving through the interior of the feasible region.

AdvancedSpecializedFormula5 links
OptimizationInterior PointLinear ProgrammingIterative
OptimizationO(n)

Gradient Clipping

Limits gradient size so optimization updates do not become unstable.

BeginnerCoreFormula3 links
OptimizationGradient BasedMachine LearningRegularization
OptimizationO(k n)

Proximal Gradient Method

Optimizes objectives with a smooth part and a nonsmooth regularization term.

AdvancedSpecializedFormula4 links
OptimizationGradient BasedRegularizationIterative
OptimizationProblem dependent

Hill Climbing

Improves a solution by repeatedly moving to a better neighboring solution.

BeginnerCoreFormula4 links
OptimizationLocal SearchMetaheuristic
OptimizationO(depth * b * w)

Beam Search

Keeps only the best few partial solutions while exploring a large search space.

IntermediateCoreFormula3 links
OptimizationHeuristic SearchSearch
Machine LearningO(n d^2)

Ridge Regression

Fits linear regression with an L2 penalty that shrinks coefficients.

IntermediateCoreFormula5 links
Machine LearningRegressionSupervised LearningRegularization
Machine LearningO(k n d)

Lasso Regression

Fits a linear model while encouraging some weights to become exactly zero.

IntermediateCoreFormula8 links
Machine LearningRegressionSupervised LearningRegularization
Machine LearningO(k n d)

Elastic Net

Combines L1 and L2 penalties for sparse but more stable linear models.

IntermediateCoreFormula3 links
Machine LearningRegressionSupervised LearningRegularization
Machine LearningO(i n k d^2)

Gaussian Mixture Model

Models data as a weighted blend of several Gaussian distributions.

AdvancedExtendedFormula6 links
Machine LearningClusteringUnsupervised LearningEstimation
Machine LearningO(i n^2)

t-SNE

Embeds high-dimensional points into two or three dimensions while preserving local neighborhoods.

AdvancedSpecializedFormula3 links
Machine LearningDimensionality ReductionManifold LearningVisualization
Machine LearningO(e n d)

Perceptron

Learns a linear binary classifier by updating weights after mistakes.

BeginnerCoreFormula3 links
Machine LearningClassificationSupervised LearningNeural Networks
Machine LearningO(e n P)

Multilayer Perceptron

Uses stacked fully connected layers and nonlinear activations to learn flexible functions.

IntermediateCoreFormula4 links
Machine LearningNeural NetworksSupervised LearningOptimization
Machine LearningO(n^2 d)

Transformer Attention

Lets each token combine information from other tokens using learned query, key, and value vectors.

AdvancedSpecializedFormula2 links
Machine LearningNeural NetworksAttentionSequence Alignment
Machine LearningO(transitions)

Q-Learning

Learns action values from rewards without needing a model of the environment.

IntermediateSpecializedFormula4 links
Machine LearningReinforcement LearningOptimizationDynamic Programming
RenderingO(pixels * rays * intersection cost)

Whitted Ray Tracing

Traces primary, reflection, and refraction rays for sharp recursive lighting effects.

IntermediateCoreFormula3 links
GraphicsRay IntersectionLightingRecursion
RenderingO(geometry + pixels * lights)

Deferred Shading

Separates geometry rendering from lighting by first storing surface data in screen-space buffers.

IntermediateExtendedNo formula8 links
GraphicsShadingScreen-SpaceLighting
RenderingO(geometry * lights)

Forward Rendering

Shades objects as they are drawn directly into the final image.

BeginnerCoreFormula4 links
GraphicsShadingLightingVisibility
RenderingO(tiles * lights + shaded pixels)

Tiled Rendering

Divides the screen into tiles so each tile can process only nearby or relevant lights.

AdvancedExtendedNo formula3 links
GraphicsShadingScreen-SpaceOptimization
RenderingO(clusters * lights + shaded pixels)

Clustered Shading

Groups screen space and depth into clusters so lights are culled in three dimensions.

AdvancedSpecializedFormula4 links
GraphicsShadingScreen-SpaceOptimization
RenderingO(pixels * steps)

Screen Space Reflections

Approximates reflections by ray marching through already rendered screen-space depth.

AdvancedSpecializedFormula2 links
GraphicsScreen-SpaceRay MarchingVisibility
RenderingO(pixels)

Temporal Anti-Aliasing

Reduces aliasing by accumulating jittered samples across frames.

AdvancedSpecializedFormula4 links
GraphicsAnti-AliasingScreen-SpaceFiltering
RenderingO(pixels)

FXAA

Smooths jagged image edges with a fast post-process filter.

BeginnerExtendedFormula4 links
GraphicsAnti-AliasingFilteringScreen-Space
RenderingO(samples * visibility cost)

Next Event Estimation

Reduces path tracing noise by sampling direct light sources at each shading point.

AdvancedSpecializedFormula4 links
GraphicsGlobal IlluminationBRDFSampling
SimulationO(bodies + contacts)

Rigid Body Dynamics

Simulates objects that translate and rotate while keeping their shape fixed.

AdvancedCoreFormula3 links
SimulationPhysicsRigid BodyCollision Detection
SimulationO(steps * springs)

Mass-Spring System

Simulates connected particles using spring forces between neighboring masses.

IntermediateCoreFormula3 links
SimulationPhysicsSpring SystemParticles
SimulationO(steps * constraints)

Cloth Simulation

Simulates fabric-like motion with connected particles, constraints, or continuum models.

AdvancedExtendedFormula3 links
SimulationPhysicsSpring SystemConstraint Solving
SimulationO(iterations * particles * neighbors)

Position Based Fluids

Simulates fluids by adjusting particle positions to satisfy density constraints.

AdvancedSpecializedFormula4 links
SimulationFluid SimulationParticlesConstraint Solving
SimulationO(iterations * cells)

Navier-Stokes Projection

Makes a fluid velocity field incompressible by subtracting pressure gradients.

AdvancedSpecializedFormula4 links
SimulationFluid SimulationMesh MethodIterative Solver
SimulationO(cells)

Semi-Lagrangian Advection

Moves quantities through a velocity field by tracing backward from grid cells.

IntermediateExtendedFormula4 links
SimulationAdvectionMesh MethodNumerical Methods
SimulationO(cells)

Vorticity Confinement

Adds small swirling forces back into fluid simulations to counter numerical damping.

AdvancedSpecializedFormula3 links
SimulationFluid SimulationPhysicsMesh Method
SimulationDepends on solver

Implicit Integration

Advances simulation state using equations evaluated at the future state for better stability.

AdvancedSpecializedFormula4 links
SimulationImplicit MethodNumerical IntegrationPhysics
Numerical MethodsO(n^3)

Cholesky Decomposition

Factors a symmetric positive definite matrix into a triangular matrix and its transpose.

IntermediateCoreFormula2 links
Numerical MethodsLinear AlgebraDecomposition
Numerical MethodsO(n^3)

Eigenvalue Decomposition

Represents a matrix through directions that are only scaled by the matrix.

AdvancedExtendedFormula6 links
Numerical MethodsLinear AlgebraDecomposition
Numerical MethodsO(k n^2)

Broyden's Method

Solves nonlinear systems by updating an approximate Jacobian instead of recomputing it.

AdvancedSpecializedFormula2 links
Numerical MethodsRoot FindingQuasi-NewtonIterative
Numerical MethodsO(n)

Romberg Integration

Improves trapezoidal integration estimates with extrapolation.

IntermediateSpecializedFormula4 links
Numerical MethodsQuadratureNumerical Integration
Numerical MethodsO(samples)

Monte Carlo Integration

Approximates integrals by averaging random samples.

IntermediateCoreFormula2 links
Numerical MethodsSamplingStochasticEstimation
Numerical MethodsAdaptive

Adaptive Quadrature

Numerically integrates by subdividing intervals where the error estimate is too high.

IntermediateExtendedFormula3 links
Numerical MethodsQuadratureNumerical IntegrationRecursion
Numerical MethodsO(n)

Multigrid Method

Solves grid-based systems faster by correcting error across coarse and fine grids.

AdvancedSpecializedFormula3 links
Numerical MethodsIterative SolverMesh MethodMultigrid
Signal ProcessingO(n * order)

Butterworth Filter

Filters signals with a smooth passband and monotonic frequency response.

IntermediateExtendedFormula2 links
Signal ProcessingFilteringFilter DesignLow Pass
Signal ProcessingO(n * window)

Savitzky-Golay Filter

Smooths data by fitting a low-degree polynomial inside a moving window.

IntermediateExtendedFormula1 links
Signal ProcessingFilteringSmoothingInterpolation
Signal ProcessingO(n)

Exponential Moving Average

Smooths a sequence by blending each new value with the previous smoothed value.

BeginnerCoreFormula2 links
Signal ProcessingFilteringSmoothingIterative
Signal ProcessingO(n)

Goertzel Algorithm

Efficiently measures one selected frequency bin from a signal.

IntermediateSpecializedFormula1 links
Signal ProcessingFrequency DomainSpectral AnalysisAudio Processing
Signal ProcessingO(frames * w log w)

Phase Vocoder

Changes time scale or pitch by manipulating short-time Fourier transform frames.

AdvancedSpecializedFormula2 links
Signal ProcessingTime FrequencyAudio ProcessingFrequency Domain
Signal ProcessingO(n log block_size)

Overlap-Add

Reconstructs or filters long signals by summing overlapping processed blocks.

IntermediateExtendedFormula2 links
Signal ProcessingFilteringTime FrequencyAudio Processing
Signal ProcessingO(n * taps)

FIR Filter

Filters a signal using a finite weighted sum of current and previous input samples.

BeginnerCoreFormula5 links
Signal ProcessingFilteringFilter Design
GeometryO(n * m)

Sutherland-Hodgman Polygon Clipping

Clips a polygon against each boundary of a convex clipping region.

IntermediateCoreFormula3 links
GeometryPolygon ClippingPolygonsComputational Geometry
GeometryO((n + k) log n)

Bentley-Ottmann Algorithm

Finds all line segment intersections with a sweep line and event queue.

AdvancedSpecializedFormula4 links
GeometrySweep LineComputational GeometryCollision Detection
GeometryO(n)

Rotating Calipers

Solves convex polygon measurements by rotating supporting lines around the hull.

AdvancedExtendedFormula7 links
GeometryComputational GeometryPolygons
GeometryO(n log n)

Fortune's Algorithm

Constructs a Voronoi diagram with a sweep line and beach line.

AdvancedSpecializedFormula3 links
GeometrySweep LineComputational GeometrySpatial Index
GeometryO(n log n) with spatial search

Bowyer-Watson Algorithm

Builds a Delaunay triangulation by inserting points and retriangulating invalid cavities.

AdvancedSpecializedFormula3 links
GeometryTriangulationComputational Geometry
GeometryO(n log n)

Closest Pair of Points

Finds the two points with the smallest distance between them.

IntermediateExtendedFormula1 links
GeometryComputational GeometryDivide and Conquer
GeometryO(1)

Ray-Triangle Intersection

Finds whether and where a ray hits a triangle.

IntermediateExtendedFormula5 links
GeometryRay IntersectionComputational GeometryGraphics
GeometryO(shape complexity)

Signed Distance Function Evaluation

Computes distance to a shape boundary with sign indicating inside or outside.

IntermediateExtendedFormula2 links
GeometrySigned Distance FieldRay MarchingGraphics
SchedulingO(n log n)

Fair Queuing

Schedules work so competing flows receive a fair share of service.

AdvancedExtendedFormula1 links
SchedulingQueueLoad Balancing
SchedulingO(n)

Weighted Round Robin

Cycles through queues while giving higher-weight queues more service opportunities.

BeginnerCoreFormula3 links
SchedulingQueueLoad Balancing
Pattern MatchingO(n m)

Dynamic Time Warping

Measures similarity between sequences that may be stretched or shifted in time.

IntermediateCoreFormula3 links
Pattern MatchingDynamic ProgrammingSequence AlignmentTime Frequency
Pattern MatchingO(n m)

Longest Common Subsequence

Finds the longest sequence that appears in two inputs without requiring contiguous positions.

IntermediateCoreFormula4 links
Pattern MatchingStringsDynamic ProgrammingSequence Alignment
Pattern MatchingO(n)

Hamming Distance

Counts positions where two equal-length strings or vectors differ.

BeginnerCoreFormula3 links
Pattern MatchingStringsEdit Distance
Data StructuresO(log n) average query

Quadtree

Indexes 2D space by recursively subdividing regions into four quadrants.

IntermediateCoreNo formula4 links
Data StructureTreeSpatial IndexSpatial Data Structure
Data StructuresO(log n) average query

Octree

Indexes 3D space by recursively subdividing regions into eight octants.

IntermediateCoreNo formula1 links
Data StructureTreeSpatial IndexSpatial Data Structure
Data StructuresO(log n) average query

k-d Tree

Indexes points by recursively splitting space along coordinate axes.

IntermediateCoreFormula8 links
Data StructureTreeSpatial IndexNearest Neighbor
Data StructuresO(log n) average query

R-Tree

Indexes rectangles or spatial objects with nested bounding boxes.

AdvancedExtendedFormula1 links
Data StructureSpatial IndexSpatial Data StructureTree
Data StructuresO(1) average insert and local query

Spatial Hash

Maps spatial positions into grid cells stored in a hash table.

BeginnerCoreFormula3 links
Data StructureHash BasedSpatial IndexSpatial Data Structure
Data StructuresO(1) query after preprocessing

Sparse Table

Precomputes overlapping power-of-two ranges for fast static range queries.

IntermediateCoreFormula3 links
Data StructureRange QueryDynamic Programming
Data StructuresO(log n) average edit

Rope

Stores long strings as a tree of smaller chunks for efficient edits and concatenation.

IntermediateCoreNo formula2 links
Data StructureTreeStrings
Data StructuresO(1)

Circular Buffer

Stores a fixed-size queue by wrapping read and write positions around an array.

BeginnerCoreFormula2 links
Data StructureQueueBuffer
Image ProcessingO(pixels * kernel_size)

Difference of Gaussians

Highlights image structures by subtracting two Gaussian-blurred versions at different scales.

IntermediateExtendedFormula1 links
Image ProcessingFilteringEdge DetectionSmoothing
Image ProcessingO(pixels)

Connected Component Labeling

Assigns labels to contiguous foreground regions in a binary or segmented image.

IntermediateCoreNo formula3 links
Image ProcessingSegmentationGraph Connectivity
Randomness & SamplingO(samples * dimensions)

Sobol Sequence

Generates low-discrepancy samples that cover a multidimensional space evenly.

AdvancedExtendedFormula6 links
RandomnessSamplingLow-DiscrepancyEstimation
Randomness & SamplingO(1) per sample after preprocessing

Alias Method

Samples from a discrete weighted distribution in constant time after preprocessing.

IntermediateCoreFormula4 links
RandomnessSamplingWeighted Sampling
ParsingO(n) with memoization

PEG Parsing

Parses text using ordered-choice grammar rules that describe one intended parse.

IntermediateCoreNo formula2 links
ParsingPEGTop-Down ParsingGrammar
ParsingO(n)

Tokenization

Breaks raw text into meaningful tokens before parsing or analysis.

BeginnerFoundationNo formula6 links
ParsingTokenizationStrings
Procedural GenerationO(neighbor cells)

Worley Noise

Generates cellular patterns from distances to nearby feature points.

IntermediateCoreFormula3 links
Procedural GenerationNoiseGraphicsSpatial Sampling
Procedural GenerationO(1)

Value Noise

Creates smooth noise by interpolating random values stored on a grid.

BeginnerCoreFormula3 links
Procedural GenerationNoiseGraphicsInterpolation
Procedural GenerationO(octaves)

Ridged Multifractal Noise

Builds sharp ridge-like terrain by inverting and layering noise octaves.

IntermediateExtendedFormula3 links
Procedural GenerationNoiseFractalTerrain
Procedural GenerationO(steps * cells)

Hydraulic Erosion

Shapes terrain by simulating water carrying and depositing sediment.

AdvancedSpecializedFormula3 links
Procedural GenerationTerrainErosionSimulation
Procedural GenerationO(iterations * cells)

Thermal Erosion

Smooths steep terrain by moving material from unstable slopes to lower neighbors.

IntermediateSpecializedFormula2 links
Procedural GenerationTerrainErosionSimulation
Procedural GenerationO(iterations * points * branches)

Space Colonization Algorithm

Generates branching structures by growing toward nearby attraction points.

AdvancedSpecializedFormula2 links
Procedural GenerationPlant GrowthSpatial SamplingSimulation
Procedural GenerationO(steps * cells)

Reaction-Diffusion

Creates organic patterns by simulating chemicals that spread and react on a grid.

AdvancedSpecializedFormula4 links
Procedural GenerationReaction-DiffusionSimulationCellular Automata
SortingO(n log n)

Parallel Merge Sort

Sorts large collections by splitting merge sort work across workers and merging sorted partitions.

IntermediateCoreNo formula2 links
SortingDivide and ConquerStable SortLoad Balancing
Graph TraversalO(V + E)

Kahn's Algorithm

Produces a topological ordering by repeatedly removing nodes with no incoming edges.

IntermediateCoreFormula3 links
GraphDirected Acyclic GraphTopological OrderQueue
Graph TraversalO(V + E)

Bridge Detection

Finds edges whose removal would disconnect an undirected graph.

IntermediateCoreFormula2 links
GraphGraph ConnectivityDepth First SearchArticulation Point
Graph TraversalO(E)

Hierholzer's Algorithm

Builds an Eulerian path or circuit by splicing cycles that consume every edge once.

IntermediateCoreNo formula3 links
GraphEulerian PathTraversalCircular Buffer
Graph TraversalO(V + E)

Euler Tour

Records entry and exit order while traversing a tree or graph.

IntermediateCoreFormula5 links
TreeTraversalLCADepth First Search
Graph TraversalO((n + q) alpha(n))

Tarjan's Offline LCA

Answers lowest-common-ancestor queries in a tree using DFS and union-find.

AdvancedExtendedFormula1 links
TreeLCAUnion FindOffline Query
Graph TraversalO(log n)

Binary Lifting LCA

Answers tree ancestor queries by precomputing powers-of-two jumps.

IntermediateCoreFormula1 links
TreeLCADynamic ProgrammingBinary Lifting
Graph TraversalO(E * max_flow)

Ford-Fulkerson

Computes maximum flow by repeatedly augmenting along residual paths.

AdvancedCoreFormula6 links
GraphNetwork FlowMaximum FlowGraph Flow
Graph TraversalO(V E^2)

Edmonds-Karp

Computes maximum flow by choosing shortest augmenting paths with BFS.

AdvancedCoreFormula5 links
GraphNetwork FlowMaximum FlowBreadth First Search
Graph TraversalO(E V^2)

Dinic's Algorithm

Computes maximum flow using level graphs and blocking flows.

AdvancedCoreFormula5 links
GraphNetwork FlowMaximum FlowBreadth First Search
Graph TraversalO(E sqrt(V))

Hopcroft-Karp

Finds maximum bipartite matching by augmenting many shortest paths per phase.

AdvancedCoreFormula3 links
GraphMatchingBreadth First SearchDepth First Search
PathfindingO(E log V)

Bidirectional Dijkstra

Finds a shortest path by running Dijkstra search forward from the start and backward from the goal.

IntermediateCoreFormula4 links
PathfindingWeighted GraphShortest PathBidirectional Search
PathfindingO(V + E)

Fringe Search

Searches with A*-style costs while batching nodes by a moving cost threshold.

IntermediateExtendedFormula1 links
PathfindingHeuristic SearchGrid SearchReal Time
PathfindingO(b^d)

IDA*

Combines A* scoring with iterative deepening to search with lower memory use.

AdvancedCoreFormula4 links
PathfindingHeuristic SearchIterativeDepth First Search
PathfindingO(k log V)

Lifelong Planning A*

Reuses previous A* search work when graph costs change.

AdvancedExtendedFormula6 links
PathfindingPath ReplanningHeuristic SearchDynamic Programming
PathfindingO(k log V)

D* Search

Repairs paths for a moving agent as new obstacle or cost information appears.

AdvancedExtendedFormula3 links
PathfindingPath ReplanningHeuristic SearchRobotics
PathfindingO(log V)

Contraction Hierarchies

Speeds shortest-path queries by contracting less important nodes and adding shortcut edges.

AdvancedSpecializedFormula3 links
PathfindingShortest PathPreprocessingWeighted Graph
PathfindingO(E log V)

ALT Landmarks

Uses landmark distances and triangle inequalities to guide shortest-path search.

AdvancedExtendedFormula3 links
PathfindingHeuristic SearchShortest PathPreprocessing
PathfindingO(E log V)

Multi-Source Dijkstra

Finds shortest distances from the nearest of several source nodes in a nonnegative-weight graph.

IntermediateCoreFormula2 links
PathfindingWeighted GraphShortest PathPriority Queue
PathfindingO(E log V)

Anytime Repairing A*

Quickly finds a usable path and improves it as more time is available.

AdvancedSpecializedFormula2 links
PathfindingHeuristic SearchPath ReplanningReal Time
PathfindingO(n log n)

Rapidly-Exploring Random Tree

Builds a tree of random feasible motions that quickly explores open space.

AdvancedExtendedFormula2 links
PathfindingSamplingRoboticsNearest Neighbor
CompressionO(n)

Variable-Length Encoding

Represents common values with shorter codes and uncommon values with longer codes.

BeginnerCoreFormula6 links
CompressionEncodingPrefix CodeBit Level
CompressionO(log n)

Elias Gamma Coding

Encodes positive integers with a unary length prefix and binary payload.

IntermediateExtendedFormula5 links
CompressionEncodingInteger DataBit Level
CompressionO(log n)

Elias Delta Coding

Encodes positive integers by gamma-coding the binary length before the payload.

IntermediateExtendedFormula5 links
CompressionEncodingInteger DataBit Level
CompressionO(log n)

Rice Coding

Encodes nonnegative integers using quotient-remainder codes with a power-of-two divisor.

IntermediateExtendedFormula3 links
CompressionEncodingInteger DataEntropy Coding
CompressionO(n * alphabet)

Move-to-Front Transform

Replaces each symbol with its position in a changing list moved to the front after use.

IntermediateCoreNo formula3 links
CompressionTransform CodingDictionary CompressionEncoding
CompressionO(k n)

Byte Pair Encoding

Repeatedly replaces frequent adjacent symbol pairs with new symbols.

IntermediateCoreFormula2 links
CompressionDictionary CompressionTokenizationEncoding
CompressionO(n)

Zstandard Compression

Combines LZ-style matching with modern entropy coding for fast general-purpose compression.

AdvancedExtendedNo formula3 links
CompressionDictionary CompressionEntropy CodingBit Level
CompressionO(n log n)

LZMA

Compresses data with LZ-style matches and range-coded probability models.

AdvancedExtendedFormula2 links
CompressionDictionary CompressionEntropy CodingPredictive Coding
CryptographyO(iterations)

PBKDF2

Derives keys from passwords by iterating a pseudorandom function with a salt.

IntermediateCoreFormula6 links
CryptographyKey DerivationPassword HashingMessage Authentication
CryptographyO(N)

Scrypt

Derives password keys with intentionally high memory use to resist hardware guessing.

AdvancedCoreFormula4 links
CryptographyPassword HashingKey DerivationSecurity
CryptographyO(n)

SipHash

Computes a fast keyed hash for short messages and hash-table protection.

IntermediateExtendedNo formula3 links
CryptographyHash FunctionMessage AuthenticationSecurity
CryptographyO(rounds)

Feistel Network

Builds an invertible block cipher structure from repeated round functions.

IntermediateCoreFormula2 links
CryptographySymmetric KeySecurityClassic
CryptographyO(n)

Merkle-Damgard Construction

Builds a hash function by chaining a compression function over message blocks.

AdvancedCoreFormula3 links
CryptographyHash FunctionSecurityClassic
CryptographyO(n)

One-Time Pad

Encrypts a message by combining it with a truly random key used exactly once.

BeginnerCoreFormula1 links
CryptographySymmetric KeySecurityClassic
CryptographyO(rounds)

Zero-Knowledge Proof

Lets one party prove a statement without revealing the secret that makes it true.

AdvancedSpecializedFormula3 links
CryptographyZero KnowledgeSecurityProof
CryptographyO(log n)

Merkle Tree

Builds a tree of hashes so large datasets can be checked with small proofs.

IntermediateCoreFormula4 links
CryptographyHashingTreeSecurity
OptimizationO(iterations * p * cost)

Particle Swarm Optimization

Searches for good solutions by moving particles according to personal and group best positions.

IntermediateCoreFormula5 links
OptimizationPopulation BasedMetaheuristicStochastic
OptimizationO(iterations * ants * choices)

Ant Colony Optimization

Solves combinatorial problems by reinforcing paths that produce good solutions.

AdvancedExtendedFormula1 links
OptimizationPopulation BasedMetaheuristicStochastic
OptimizationO(iterations * neighborhood)

Tabu Search

Improves solutions with local moves while forbidding recently visited moves or states.

IntermediateExtendedFormula3 links
OptimizationLocal SearchMetaheuristicHeuristic
OptimizationO(iterations * population * cost)

Differential Evolution

Optimizes continuous parameters by combining differences between population members.

IntermediateCoreFormula5 links
OptimizationPopulation BasedEvolution StrategyStochastic
OptimizationO(iterations * population * n^2)

CMA-ES

Optimizes continuous functions by adapting a Gaussian search distribution.

AdvancedSpecializedFormula2 links
OptimizationEvolution StrategyPopulation BasedStochastic
OptimizationO(n^3)

Bayesian Optimization

Optimizes expensive black-box functions using a surrogate model and acquisition rule.

AdvancedCoreFormula1 links
OptimizationModel FittingStochasticBayesian Optimization
OptimizationO(log((b-a)/tolerance))

Golden Section Search

Finds the minimum of a unimodal one-dimensional function by shrinking an interval efficiently.

BeginnerCoreFormula3 links
OptimizationSearchRoot FindingIterative
OptimizationO(iterations * n * line_search)

Powell's Method

Minimizes a function by performing line searches along evolving directions.

IntermediateExtendedFormula3 links
OptimizationDerivative FreeLocal SearchIterative
OptimizationO(iterations * step cost)

ADMM

Solves constrained optimization problems by alternating primal updates and dual correction.

AdvancedSpecializedFormula2 links
OptimizationConstraint SolvingAlternating DirectionConvex Optimization
OptimizationO(iterations * n k)

Expectation-Maximization

Fits latent-variable models by alternating expected assignments and parameter updates.

AdvancedCoreFormula4 links
OptimizationProbabilistic ModelModel FittingIterative
OptimizationO(iterations * n)

RANSAC

Fits a model by repeatedly sampling small subsets and keeping the model with the most inliers.

IntermediateCoreFormula3 links
OptimizationModel FittingRobust EstimationStochastic
OptimizationO(d^n)

Constraint Satisfaction Backtracking

Solves constraint problems by assigning variables recursively and undoing inconsistent choices.

IntermediateCoreFormula4 links
OptimizationConstraint SolvingBacktrackingSearch
Machine LearningO(n k d)

Softmax Classifier

Classifies examples by turning linear class scores into probabilities.

IntermediateCoreFormula6 links
Machine LearningClassificationSupervised LearningLoss Function
Machine LearningO(n k)

Cross-Entropy Loss

Measures how well predicted probabilities match the true class distribution.

BeginnerFoundationFormula4 links
Machine LearningLoss FunctionClassificationSupervised Learning
Machine LearningO(layers * k h w)

Convolutional Neural Network

Learns local filters that detect patterns across grid-like data such as images.

AdvancedCoreFormula4 links
Machine LearningNeural NetworksImage ProcessingSupervised Learning
Machine LearningO(T h^2)

Recurrent Neural Network

Processes sequences by carrying hidden state from one step to the next.

AdvancedCoreFormula8 links
Machine LearningNeural NetworksSequence ModelingSupervised Learning
Machine LearningO(T h^2)

Long Short-Term Memory

Uses gates and a memory cell to model longer sequence dependencies.

AdvancedCoreFormula4 links
Machine LearningNeural NetworksSequence ModelingGating
Machine LearningO(T h^2)

GRU

Models sequences with gated hidden-state updates using fewer gates than LSTM.

AdvancedCoreFormula4 links
Machine LearningNeural NetworksSequence ModelingGating
Machine LearningO(n * parameters)

Autoencoder

Learns a compact representation by reconstructing its input.

IntermediateCoreFormula3 links
Machine LearningUnsupervised LearningNeural NetworksDimensionality Reduction
Machine LearningO(n * parameters)

Variational Autoencoder

Learns a probabilistic latent space that can reconstruct and generate examples.

AdvancedExtendedFormula3 links
Machine LearningUnsupervised LearningNeural NetworksProbabilistic Model
Machine LearningO(t n log n)

Gradient Boosting

Builds an ensemble by adding weak models that reduce current prediction error.

IntermediateCoreFormula7 links
Machine LearningEnsembleBoostingSupervised Learning
Machine LearningO(t n)

AdaBoost

Builds a classifier by reweighting examples that previous weak learners misclassified.

IntermediateCoreFormula3 links
Machine LearningEnsembleBoostingClassification
Machine LearningO(t n log n)

XGBoost-Style Gradient Boosted Trees

Trains regularized boosted decision trees using gradient and curvature information.

AdvancedExtendedFormula3 links
Machine LearningEnsembleBoostingDecision Tree
Machine LearningO(candidate_count * n)

Apriori Algorithm

Finds frequent itemsets by expanding only candidates whose subsets are frequent.

IntermediateExtendedFormula1 links
Machine LearningAssociation RulesFrequent ItemsetData Mining
Machine LearningO(T S^2)

Hidden Markov Model

Models sequences with hidden states that emit observed values over time.

AdvancedCoreFormula2 links
Machine LearningProbabilistic ModelSequence ModelingMarkov Chain
Machine LearningO(n log n)

UMAP

Embeds high-dimensional data into a lower-dimensional layout that preserves local neighborhoods.

AdvancedExtendedFormula3 links
Machine LearningDimensionality ReductionManifold LearningNearest Neighbor
ParsingO(n * rules)

Parser Combinators

Builds parsers by composing small parser functions into larger grammar rules.

IntermediateCoreFormula1 links
ParsingTop-Down ParsingParser GeneratorFunctional Programming
ParsingO(2^n)

DFA Construction

Builds a deterministic finite automaton by grouping NFA state sets into DFA states.

IntermediateCoreFormula6 links
ParsingAutomatonRegular ExpressionTokenization
ParsingO(input_length * states)

NFA Simulation

Matches input by tracking all possible nondeterministic automaton states.

IntermediateCoreFormula3 links
ParsingAutomatonRegular ExpressionTokenization
ParsingO(regex length)

Thompson's Construction

Compiles a regular expression into an epsilon-NFA using small pattern fragments.

IntermediateCoreNo formula2 links
ParsingAutomatonRegular ExpressionParser Generator
ParsingO(n^3)

GLR Parsing

Parses ambiguous or nondeterministic grammars by following multiple LR parse paths.

AdvancedSpecializedNo formula3 links
ParsingBottom-Up ParsingGrammarAmbiguous Grammar
ParsingO(n)

LALR Parsing

Builds compact LR-style parse tables by merging states with the same cores.

AdvancedCoreFormula2 links
ParsingBottom-Up ParsingGrammarParser Generator
ParsingO(iterations * grammar size)

FIRST/FOLLOW Set Computation

Computes grammar symbol sets used to predict valid parser choices.

IntermediateCoreFormula3 links
ParsingGrammar AnalysisTop-Down ParsingParser Generator
ParsingO(grammar size)

LL(1) Parse Table Construction

Builds a predictive parsing table from FIRST and FOLLOW sets.

IntermediateCoreFormula2 links
ParsingTop-Down ParsingGrammar AnalysisParser Generator
Procedural GenerationO(samples * dimensions)

Gradient Noise

Generates smooth noise by interpolating dot products with random lattice gradients.

IntermediateCoreFormula6 links
Procedural GenerationNoiseInterpolationTexture Synthesis
Procedural GenerationO(n)

Midpoint Displacement

Generates rough terrain or curves by recursively displacing midpoints.

BeginnerCoreFormula3 links
Procedural GenerationTerrainFractalNoise
Procedural GenerationO(samples * sites)

Voronoi Terrain Generation

Builds terrain regions from distances to seed points or Voronoi cells.

IntermediateCoreFormula2 links
Procedural GenerationTerrainVoronoiSpatial Sampling
Procedural GenerationO(tokens)

Markov Chain Text Generation

Generates text by choosing each token from probabilities conditioned on recent tokens.

BeginnerCoreFormula1 links
Procedural GenerationMarkov ChainText GenerationProbabilistic Model
Procedural GenerationO(output size)

Grammar-Based Generation

Generates structures by expanding grammar symbols into rules.

IntermediateCoreFormula4 links
Procedural GenerationGrammar GenerationGrammarConstraint Solving
Procedural GenerationO(exponential)

Constraint-Based Generation

Generates content by searching for assignments that satisfy design constraints.

AdvancedCoreFormula4 links
Procedural GenerationConstraint SolvingSearchGeneration
Procedural GenerationO(n)

Poisson Disk Object Placement

Places objects with a minimum spacing so distributions look natural but not clumped.

IntermediateCoreFormula3 links
Procedural GenerationSpatial SamplingPoisson DiskSampling
Procedural GenerationO(iterations * samples)

Fault Formation Terrain

Creates terrain by repeatedly raising one side of random fault lines.

BeginnerExtendedFormula2 links
Procedural GenerationTerrainErosionFractal
Procedural GenerationO(steps * cells)

Tectonic Plate Terrain Generation

Generates large terrain features from simulated plate regions and interactions.

AdvancedSpecializedFormula1 links
Procedural GenerationTerrainSimulationVoronoi
Procedural GenerationO(walkers * steps)

Diffusion-Limited Aggregation

Generates branching clusters by letting random walkers stick to an existing structure.

IntermediateExtendedFormula1 links
Procedural GenerationGrowth ModelRandom WalkParticles
Procedural GenerationO(output size)

Shape Grammar Generation

Generates geometry by repeatedly applying spatial rewrite rules to shapes.

AdvancedExtendedFormula3 links
Procedural GenerationGrammar GenerationGeometryGeneration
Procedural GenerationO(cells * patterns)

Wave Function Collapse Overlapping Model

Generates grids by enforcing local pattern compatibility learned from overlapping examples.

AdvancedSpecializedFormula3 links
Procedural GenerationConstraint SolvingTexture SynthesisGeneration
Image ProcessingO(pixels * kernel)

Unsharp Masking

Sharpens an image by adding back high-frequency detail separated by blur.

BeginnerCoreFormula1 links
Image ProcessingFilteringSmoothingEdge Enhancement
Image ProcessingO(pixels * template)

Template Matching

Finds image regions that resemble a smaller template patch.

IntermediateCoreFormula3 links
Image ProcessingPattern MatchingCorrelationSearch
Image ProcessingO(iterations * graph_cut)

GrabCut

Segments foreground from background using graph cuts and color models.

AdvancedExtendedFormula1 links
Image ProcessingSegmentationGraphOptimization
Image ProcessingO(pixels * window)

Lucas-Kanade Optical Flow

Estimates local image motion by solving small least-squares systems over patches.

AdvancedCoreFormula3 links
Image ProcessingMotion EstimationLinear AlgebraEstimation
Image ProcessingO(iterations * pixels)

Horn-Schunck Optical Flow

Estimates dense optical flow by combining brightness constancy with smoothness.

AdvancedExtendedFormula1 links
Image ProcessingMotion EstimationOptimizationSmoothing
Image ProcessingO(pixels)

Image Pyramid

Stores progressively downsampled versions of an image for multi-scale processing.

IntermediateCoreFormula4 links
Image ProcessingSmoothingResamplingMulti Scale
Image ProcessingO(1)

Integral Image

Precomputes cumulative pixel sums so rectangular sums are answered in constant time.

IntermediateCoreFormula1 links
Image ProcessingPrefix SumRange QueryFiltering
Image ProcessingO(pixels * kernel)

Morphological Dilation

Expands bright or foreground regions according to a structuring element.

BeginnerCoreFormula4 links
Image ProcessingMorphologySegmentationFiltering
Image ProcessingO(pixels log pixels)

Watershed Segmentation

Segments regions by treating image intensity as a terrain flooded from markers.

AdvancedExtendedNo formula2 links
Image ProcessingSegmentationMorphologyGraph
Randomness & SamplingO(samples * dimensions log n)

Halton Sequence

Generates deterministic low-discrepancy points from radical inverses in prime bases.

IntermediateCoreFormula5 links
Randomness & SamplingLow-DiscrepancyQuasi Monte CarloSampling
Randomness & SamplingO(samples * dimensions log n)

Hammersley Sequence

Generates low-discrepancy points using an index coordinate and radical inverse coordinates.

IntermediateCoreFormula4 links
Randomness & SamplingLow-DiscrepancyQuasi Monte CarloSampling
Randomness & SamplingO(n d)

Latin Hypercube Sampling

Samples each dimension so every interval stratum is used exactly once.

IntermediateCoreFormula3 links
Randomness & SamplingStratified SamplingSamplingStochastic
Randomness & SamplingO(iterations * variables)

Gibbs Sampling

Samples a joint distribution by repeatedly sampling each variable from its conditional distribution.

AdvancedCoreFormula4 links
Randomness & SamplingMarkov Chain Monte CarloSamplingProbabilistic Model
Randomness & SamplingO(sample count)

Inverse Transform Sampling

Samples a target distribution by applying its inverse CDF to uniform random values.

IntermediateCoreFormula6 links
Randomness & SamplingInverse TransformSamplingProbability
Randomness & SamplingO(draws * k)

Multinomial Sampling

Draws counts or categories according to a discrete probability vector.

IntermediateCoreFormula3 links
Randomness & SamplingWeighted SamplingProbabilitySampling
Randomness & SamplingO(samples * dimensions)

Cranley-Patterson Rotation

Randomizes low-discrepancy samples by adding a random offset modulo one.

AdvancedExtendedFormula2 links
Randomness & SamplingQuasi Monte CarloLow-DiscrepancySampling
SchedulingO(n)

Lottery Scheduling

Allocates CPU time by randomly drawing tickets assigned to competing jobs.

BeginnerCoreFormula1 links
SchedulingTask SchedulingProbabilistic SchedulingOperating Systems
SchedulingO(V + E)

Earliest Start Time

Computes the earliest time each task can begin after its prerequisites finish.

IntermediateCoreFormula3 links
SchedulingTask SchedulingDirected Acyclic GraphPlanning
SchedulingO(V + E)

Latest Finish Time

Computes how late each task can finish without delaying the project.

IntermediateCoreFormula2 links
SchedulingTask SchedulingDirected Acyclic GraphPlanning
SchedulingO(exponential)

Job Shop Scheduling

Schedules jobs across machines while respecting operation order and machine capacity.

AdvancedSpecializedFormula1 links
SchedulingTask SchedulingConstraint SolvingOptimization
Pattern MatchingO(n m)

Longest Common Substring

Finds the longest contiguous block shared by two strings.

IntermediateCoreFormula5 links
Pattern MatchingDynamic ProgrammingStringsSequence Alignment
Pattern MatchingO(n m)

Smith-Waterman

Finds the best local alignment between two sequences.

AdvancedCoreFormula4 links
Pattern MatchingSequence AlignmentDynamic ProgrammingEdit Distance
Pattern MatchingO(n + m)

Jaro-Winkler Distance

Scores string similarity with extra weight for shared prefixes.

IntermediateExtendedFormula3 links
Pattern MatchingStringsSimilarityEdit Distance
Pattern MatchingO(k n)

MinHash

Estimates set similarity by comparing compact hash signatures.

IntermediateCoreFormula4 links
Pattern MatchingHashingSimilarityProbabilistic Data Structure
Pattern MatchingO(k n)

Locality-Sensitive Hashing

Hashes similar items into the same buckets with higher probability than dissimilar items.

AdvancedCoreFormula3 links
Pattern MatchingHashingNearest NeighborSimilarity
Pattern MatchingO(n)

Suffix Automaton

Represents all substrings of a string in a compact deterministic automaton.

AdvancedExtendedFormula5 links
Pattern MatchingAutomatonStringsSuffix Index
Pattern MatchingO(n)

Bitap Algorithm

Searches for patterns by updating bit masks that represent matching prefixes.

AdvancedExtendedFormula2 links
Pattern MatchingStringsBit LevelSearch
Pattern MatchingO(n)

Wu-Manber

Searches for multiple patterns using block hashes and shift tables.

AdvancedExtendedFormula4 links
Pattern MatchingStringsMulti PatternHashing
Data StructuresO(1)

Deque

Stores items so insertion and removal are efficient at both the front and the back.

BeginnerFoundationFormula2 links
Data StructureQueueBufferClassic
Data StructuresO(log n)

Priority Queue

Stores items so the highest- or lowest-priority item can be removed efficiently.

BeginnerFoundationFormula8 links
Data StructurePriority QueueHeapClassic
Data StructuresO(V + E)

Graph Adjacency List

Represents a graph by storing each node with the neighbors reachable from it.

BeginnerFoundationNo formula5 links
Data StructureGraphGraph RepresentationTraversal
Data StructuresO(1)

Graph Adjacency Matrix

Represents graph edges with a matrix indexed by source and destination nodes.

BeginnerCoreFormula4 links
Data StructureGraphGraph RepresentationMatrix
Data StructuresO(V + E)

Directed Acyclic Graph

Represents directed dependencies with no cycle following edge directions.

BeginnerFoundationNo formula5 links
Data StructureGraphDirected Acyclic GraphTopological Order
Data StructuresO(log n)

AVL Tree

Maintains a binary search tree with strict height balance after updates.

IntermediateCoreFormula4 links
Data StructureTreeBalanced TreeTree Balancing
Data StructuresO(log n) amortized

Splay Tree

Moves recently accessed nodes to the root using rotations.

AdvancedExtendedNo formula3 links
Data StructureTreeBalanced TreeTree Balancing
Data StructuresO(log n)

Treap

Combines binary search tree ordering with random heap priorities.

IntermediateExtendedFormula2 links
Data StructureTreeBalanced TreeRandomness
Data StructuresO(log n)

Skip List

Maintains sorted items with multiple randomized forward-pointer levels.

IntermediateCoreFormula2 links
Data StructureProbabilistic Data StructureSorted DataRandomness
Data StructuresO(1)

LRU Cache

Evicts the least recently used item when capacity is exceeded.

IntermediateCoreFormula1 links
Data StructureCacheHash TableBinary Search Tree
Data StructuresO(log n)

Persistent Segment Tree

Keeps previous segment tree versions by copying only nodes along update paths.

AdvancedSpecializedFormula2 links
Data StructurePersistent Data StructureRange QueryTree
Data StructuresO(log sigma)

Wavelet Tree

Indexes sequences so rank, select, and range queries can be answered compactly.

AdvancedSpecializedFormula1 links
Data StructureRange QueryStringsCompression
Data StructuresO(m)

Suffix Tree

Stores all suffixes of a string in a compressed trie for fast substring queries.

AdvancedCoreNo formula8 links
Data StructureStringsSuffix IndexPrefix Tree
Data StructuresO(m log n)

Suffix Array

Stores suffix starting positions in lexicographic order for compact string indexing.

AdvancedCoreFormula9 links
Data StructureStringsSuffix IndexSorting
Signal ProcessingO(n)

Chebyshev Filter

Designs a frequency filter with controlled ripple and a sharper transition band.

AdvancedCoreFormula1 links
Signal ProcessingFilter DesignFrequency DomainLow Pass
Signal ProcessingO(n k)

IIR Filter

Filters a signal with feedback from previous outputs as well as current and previous inputs.

IntermediateCoreFormula2 links
Signal ProcessingFilter DesignFilteringRecursive Filter
Signal ProcessingO(n)

Wavelet Transform

Represents a signal at multiple scales using localized wavelet functions.

AdvancedCoreFormula2 links
Signal ProcessingWaveletTime FrequencyFrequency Domain
Signal ProcessingO(n s)

Continuous Wavelet Transform

Analyzes a signal across continuously varying scales and shifts.

AdvancedExtendedFormula2 links
Signal ProcessingWaveletTime FrequencySpectral Analysis
Signal ProcessingO(n log n)

Hilbert Transform

Builds an analytic signal by phase-shifting frequency components.

AdvancedExtendedFormula1 links
Signal ProcessingFrequency DomainTransformAudio Processing
Signal ProcessingO(n log n)

Cepstrum Analysis

Analyzes periodic structure by transforming the log spectrum back into a quefrency-like domain.

AdvancedExtendedFormula1 links
Signal ProcessingSpectral AnalysisAudio ProcessingFrequency Domain
Signal ProcessingO(frames * n log n)

Spectral Subtraction

Reduces noise by subtracting an estimated noise spectrum from the observed spectrum.

IntermediateCoreFormula1 links
Signal ProcessingNoise ReductionSpectral AnalysisAudio Processing
Signal ProcessingO(blocks * n log n)

Overlap-Save

Performs long convolution by reusing overlapped input blocks and discarding invalid edges.

IntermediateCoreFormula2 links
Signal ProcessingConvolutionFrequency DomainSliding Window
Signal ProcessingO(n k)

Polyphase Resampling

Resamples a signal efficiently by splitting interpolation filters into phases.

AdvancedExtendedFormula1 links
Signal ProcessingResamplingFilteringPolyphase
Signal ProcessingO(n k)

Windowed Sinc Interpolation

Interpolates samples with a sinc kernel limited by a window function.

AdvancedExtendedFormula1 links
Signal ProcessingInterpolationResamplingWindow Function
Signal ProcessingO(n k)

LMS Adaptive Filter

Adapts filter weights to minimize the current squared error.

IntermediateCoreFormula1 links
Signal ProcessingAdaptive FilterFilteringEstimation
Signal ProcessingO(n k)

Notch Filter

Suppresses a narrow frequency band while leaving nearby frequencies mostly intact.

IntermediateCoreFormula1 links
Signal ProcessingFilter DesignFrequency DomainFiltering
Signal ProcessingO(n k)

Band-Pass Filter

Passes frequencies inside a chosen band while attenuating lower and higher frequencies.

IntermediateCoreFormula3 links
Signal ProcessingFilter DesignFrequency DomainFiltering
Signal ProcessingO(n k)

Matched Filter

Detects a known signal pattern by correlating input with a matching template.

AdvancedExtendedFormula2 links
Signal ProcessingCorrelationFilteringDetection
GeometryO(n m)

Weiler-Atherton Polygon Clipping

Clips complex polygons by walking between subject and clipping polygon boundaries at intersections.

AdvancedExtendedNo formula3 links
Computational GeometryPolygon ClippingPolygonsGeometry
GeometryO(n log n)

Minimum Bounding Rectangle

Finds the smallest-area rectangle that encloses a set of points or a convex polygon.

IntermediateCoreFormula3 links
Computational GeometryGeometryPolygonsBounding Volume
GeometryO(1)

Point-Line Distance

Computes the shortest distance from a point to a line.

BeginnerFoundationFormula4 links
Computational GeometryGeometryDistance MetricLinear Algebra
GeometryO(dimensions)

Axis-Aligned Bounding Box Intersection

Tests whether two axis-aligned boxes overlap on every coordinate axis.

BeginnerFoundationFormula6 links
Computational GeometryBounding VolumeCollision DetectionGeometry
GeometryO(1)

Oriented Bounding Box Intersection

Tests overlap between rotated boxes using candidate separating axes.

AdvancedCoreFormula4 links
Computational GeometryBounding VolumeCollision DetectionGeometry
GeometryO(n log n)

Bounding Volume Hierarchy Construction

Builds a tree of bounding volumes around geometry for faster spatial queries.

AdvancedCoreFormula3 links
Computational GeometrySpatial IndexBounding VolumeAcceleration Structure
GeometryO(n + m)

Minkowski Sum

Combines two shapes by adding every point in one shape to every point in the other.

AdvancedExtendedFormula6 links
Computational GeometryGeometryPolygonsCollision Detection
GeometryO(n log n)

Ramer-Douglas-Peucker

Simplifies a polyline by removing points whose deviation is below a tolerance.

IntermediateCoreFormula3 links
Computational GeometryCurve SimplificationGeometryDistance Metric
GeometryO(cells)

Marching Squares

Extracts 2D contour lines from a scalar grid using cell case tables.

IntermediateCoreFormula3 links
Computational GeometrySurface ExtractionGrid SearchGeometry
GeometryO(n^2)

Ear Clipping Triangulation

Triangulates a simple polygon by repeatedly removing valid ears.

IntermediateCoreFormula3 links
Computational GeometryTriangulationPolygonsGeometry
GeometryO(1)

Barycentric Coordinates

Represents a point inside a triangle as weights on the triangle's vertices.

IntermediateCoreFormula4 links
Computational GeometryInterpolationTriangulationLinear Algebra
GeometryO(iterations * (V + E))

Laplacian Mesh Smoothing

Smooths a mesh by moving vertices toward the average of their neighbors.

IntermediateExtendedFormula3 links
Computational GeometryMesh ProcessingSmoothingGeometry
GeometryO(iterations * faces)

Catmull-Clark Subdivision

Refines polygon meshes into smoother subdivision surfaces.

AdvancedExtendedFormula3 links
Computational GeometryMesh ProcessingSurface ExtractionSmoothing
GeometryO(E log E)

Quadric Error Mesh Simplification

Simplifies a mesh by collapsing edges that add the least quadric error.

AdvancedExtendedFormula5 links
Computational GeometryMesh ProcessingCurve SimplificationGeometry
SimulationO(state)

Explicit Integration

Advances simulation state using derivatives evaluated at the current time.

BeginnerCoreFormula3 links
SimulationPhysicsOde SolverIterative
SimulationO(iterations * constraints)

Constraint Projection

Enforces simulation constraints by projecting invalid state back onto the allowed manifold.

IntermediateCoreFormula5 links
SimulationConstraint ProjectionPhysicsConstraint Solving
SimulationO(iterations * constraints)

Verlet Constraint Solver

Maintains distance constraints by repeatedly correcting Verlet-integrated particle positions.

IntermediateCoreFormula4 links
SimulationPhysicsConstraint ProjectionSpring System
SimulationO(n log n + k)

Broad Phase Collision Detection

Quickly finds possible colliding object pairs before exact collision tests.

IntermediateCoreFormula7 links
SimulationCollision DetectionBroad PhaseSpatial Index
SimulationO(features)

Narrow Phase Collision Detection

Performs precise collision tests for candidate pairs found by broad phase.

AdvancedCoreNo formula5 links
SimulationCollision DetectionNarrow PhaseGeometry
SimulationO(n log n + k)

Sweep and Prune

Reduces collision candidates by sorting bounding-box intervals along one or more axes.

IntermediateCoreFormula4 links
SimulationCollision DetectionBroad PhaseSweep Line
SimulationO(iterations)

GJK Collision Detection

Tests convex shapes for intersection using support points of their Minkowski difference.

AdvancedSpecializedFormula7 links
SimulationCollision DetectionNarrow PhaseComputational Geometry
SimulationO(iterations)

Expanding Polytope Algorithm

Computes penetration depth and contact normal after GJK detects convex overlap.

AdvancedSpecializedFormula4 links
SimulationCollision DetectionNarrow PhaseComputational Geometry
SimulationO(iterations * constraints)

Sequential Impulse Solver

Approximates rigid-body contact and joint constraints by applying clamped impulses one constraint at a time.

AdvancedCoreFormula4 links
SimulationRigid BodyConstraint SolvingCollision Detection
SimulationO(n^2)

Boids Flocking

Simulates flocking from local separation, alignment, and cohesion rules.

BeginnerCoreFormula2 links
SimulationFlockingAgent BasedParticles
SimulationO(steps * cells)

Lattice Boltzmann Method

Simulates fluids by evolving particle distribution functions on a lattice.

AdvancedSpecializedFormula2 links
SimulationFluid SimulationMesh MethodParticles
SimulationO(steps * (particles + grid))

Particle-in-Cell

Combines moving particles with a grid used to solve field quantities.

AdvancedSpecializedFormula1 links
SimulationParticlesFluid SimulationMesh Method
SimulationO(solve cost)

Finite Element Method

Approximates continuum behavior by solving equations over mesh elements.

AdvancedSpecializedFormula4 links
SimulationMesh MethodPhysicsLinear Algebra
SimulationO(steps * cells)

Finite Volume Fluid Simulation

Simulates fluids by conserving quantities across cell boundaries.

AdvancedSpecializedFormula6 links
SimulationFluid SimulationMesh MethodFinite Volume
Numerical MethodsO(n^3)

QR Decomposition

Factors a matrix into an orthogonal matrix and an upper triangular matrix.

IntermediateCoreFormula3 links
Numerical MethodsLinear AlgebraDecompositionMatrix Factorization
Numerical MethodsO(n^3)

Singular Value Decomposition

Factors a matrix into singular vectors and singular values that reveal its main directions.

AdvancedCoreFormula3 links
Numerical MethodsLinear AlgebraDecompositionDimensionality Reduction
Numerical MethodsO(iterations * n^2)

Power Iteration

Approximates the dominant eigenvector by repeatedly multiplying by a matrix.

IntermediateCoreFormula3 links
Numerical MethodsLinear AlgebraIterative SolverEigenvalue
Numerical MethodsO(n)

Trapezoidal Rule

Approximates an integral by summing trapezoid areas under sampled function values.

BeginnerFoundationFormula4 links
Numerical MethodsNumerical IntegrationQuadratureInterpolation
Numerical MethodsO(n^2)

Polynomial Interpolation

Finds a polynomial that passes through a set of sample points.

IntermediateCoreFormula5 links
Numerical MethodsInterpolationPolynomialsApproximation
Numerical MethodsO(n^2)

Lagrange Interpolation

Builds an interpolating polynomial as a weighted sum of basis polynomials.

IntermediateCoreFormula4 links
Numerical MethodsInterpolationPolynomialsApproximation
Numerical MethodsO(n^2)

Newton Interpolation

Builds an interpolating polynomial incrementally with divided differences.

IntermediateCoreFormula4 links
Numerical MethodsInterpolationPolynomialsApproximation
Numerical MethodsO(steps * cells)

Finite Volume Method

Solves conservation laws by balancing fluxes through control-volume boundaries.

AdvancedCoreFormula4 links
Numerical MethodsMesh MethodFinite VolumeNumerical Integration
Numerical MethodsO(paths * steps)

Euler-Maruyama Method

Approximates stochastic differential equations with an Euler step plus random noise.

AdvancedExtendedFormula2 links
Numerical MethodsOde SolverStochastic Differential EquationSimulation
Numerical MethodsO(steps * stages)

Runge-Kutta-Fehlberg

Solves ODEs with paired Runge-Kutta estimates used for adaptive step sizing.

AdvancedExtendedFormula3 links
Numerical MethodsOde SolverAdaptiveNumerical Integration
Numerical MethodsO(steps * state)

Adams-Bashforth Method

Solves ODEs with an explicit multistep formula using previous derivative values.

AdvancedExtendedFormula4 links
Numerical MethodsOde SolverExplicit MethodNumerical Integration
Numerical MethodsO(steps * solve cost)

Backward Differentiation Formula

Solves stiff ODEs with implicit multistep formulas based on backward differences.

AdvancedSpecializedFormula3 links
Numerical MethodsOde SolverImplicit MethodStiff System
Numerical MethodsO(iterations * n^2)

Successive Over-Relaxation

Accelerates Gauss-Seidel iteration by over-relaxing each variable update.

IntermediateCoreFormula3 links
Numerical MethodsIterative SolverLinear AlgebraRelaxation Method
Numerical MethodsO(iterations * (nnz + preconditioner))

Preconditioned Conjugate Gradient

Solves symmetric positive definite systems faster by applying a preconditioner.

AdvancedCoreFormula3 links
Numerical MethodsIterative SolverLinear AlgebraPreconditioning
RenderingO(pixels * samples)

MSAA

Reduces geometric aliasing by sampling coverage multiple times per pixel.

IntermediateCoreFormula4 links
GraphicsAnti-AliasingRasterizationSampling
RenderingO(pixels * candidates)

ReSTIR Sampling

Reuses light samples with reservoir sampling to improve direct lighting estimates.

AdvancedSpecializedFormula2 links
GraphicsSamplingLightingGlobal Illumination
RenderingO(samples * expected path length)

Russian Roulette Path Termination

Randomly terminates low-contribution light paths while preserving an unbiased estimator.

IntermediateCoreFormula3 links
GraphicsPath TracingSamplingStochastic
RenderingO(samples)

Importance Sampling BRDF

Samples BRDF directions with a matching PDF so Monte Carlo paths spend more work on likely scattering directions.

AdvancedCoreFormula9 links
GraphicsBRDFSamplingLighting
RenderingO(log n)

BVH Traversal

Tests rays against a hierarchy of bounding volumes before testing contained geometry.

IntermediateCoreFormula6 links
GraphicsAcceleration StructureRay IntersectionSpatial Index
RenderingO(pixels)

Mipmapping

Samples prefiltered texture levels so distant surfaces avoid aliasing and cache waste.

IntermediateCoreFormula2 links
GraphicsTexture MappingFilteringSampling
RenderingO(pixels)

Normal Mapping

Adds lighting detail by perturbing shading normals from a texture instead of changing geometry.

IntermediateCoreFormula3 links
GraphicsShadingTexture MappingLighting
RenderingO(pixels * steps)

Parallax Occlusion Mapping

Offsets texture coordinates by ray-marching through a height field on the surface.

AdvancedExtendedFormula3 links
GraphicsTexture MappingRay MarchingShading
RenderingO(geometry + pixels)

Shadow Volumes

Creates extruded volumes from occluders to identify pixels in shadow.

AdvancedExtendedNo formula3 links
GraphicsShadowVisibilityGeometry
RenderingO(pixels)

Variance Shadow Maps

Stores depth moments so shadow maps can be filtered with probabilistic bounds.

AdvancedExtendedFormula3 links
GraphicsShadowFilteringVisibility
RenderingO(pixels * lights)

Cook-Torrance Shading

Models specular reflection using microfacet surface behavior.

AdvancedCoreFormula4 links
GraphicsBRDFShadingLighting
RenderingO(pixels * lights)

Phong Shading

Computes local lighting with ambient, diffuse, and specular terms per fragment.

BeginnerFoundationFormula4 links
GraphicsShadingLightingClassic
RenderingO(pixels * lights)

Blinn-Phong Shading

Approximates specular highlights with a halfway vector between light and view directions.

BeginnerCoreFormula4 links
GraphicsShadingLightingClassic
RenderingO(pixels)

Tone Mapping

Maps high-dynamic-range color values into a displayable range.

IntermediateCoreFormula1 links
GraphicsImage ProcessingFilteringVisualization
SchedulingO(n log n)

Highest Response Ratio Next Scheduling

Highest Response Ratio Next Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateCoreFormula1 links
Scheduling
SchedulingO(n log n)

Proportional Share Scheduling

Proportional Share Scheduling allocates service according to fairness or proportional-share rules.

IntermediateCoreFormula2 links
Scheduling
SchedulingO(n log n)

Stride Scheduling

Stride Scheduling allocates service according to fairness or proportional-share rules.

IntermediateCoreFormula1 links
Scheduling
SchedulingO(n log n)

Completely Fair Scheduler

Completely Fair Scheduler allocates service according to fairness or proportional-share rules.

IntermediateCoreNo formula2 links
Scheduling
SchedulingO(n log n)

Gang Scheduling

Gang Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedNo formula2 links
Scheduling
SchedulingO(n log n)

Two-Level Scheduling

Two-Level Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedNo formula1 links
Scheduling
SchedulingO(n log n)

Deadline Monotonic Scheduling

Deadline Monotonic Scheduling uses timing constraints to prioritize real-time work.

IntermediateExtendedFormula2 links
Scheduling
SchedulingO(n log n)

Slack Stealing Scheduling

Slack Stealing Scheduling uses timing constraints to prioritize real-time work.

IntermediateSpecializedNo formula2 links
Scheduling
SchedulingO(n log n)

Weighted Fair Queuing

Weighted Fair Queuing allocates service according to fairness or proportional-share rules.

IntermediateCoreFormula1 links
Scheduling
SchedulingO(n log n)

Deficit Round Robin

Deficit Round Robin chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateCoreFormula1 links
Scheduling
SchedulingO(n log n)

Token Bucket Scheduling

Token Bucket Scheduling rate-limits work by accumulating or draining capacity over time.

IntermediateCoreFormula1 links
Scheduling
SchedulingO(n log n)

Leaky Bucket Scheduling

Leaky Bucket Scheduling rate-limits work by accumulating or draining capacity over time.

IntermediateCoreFormula1 links
Scheduling
SchedulingO(n log n)

Backfilling Scheduling

Backfilling Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedNo formula2 links
Scheduling
SchedulingO(n log n)

Min-Min Scheduling

Min-Min Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedFormula4 links
Scheduling
SchedulingO(n log n)

Max-Min Scheduling

Max-Min Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedFormula3 links
Scheduling
SchedulingO(n log n)

HEFT Scheduling

HEFT Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateSpecializedNo formula4 links
Scheduling
SchedulingO(n log n)

List Scheduling

List Scheduling chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedNo formula2 links
Scheduling
SchedulingO(n log n)

Interval Scheduling

Interval Scheduling selects compatible intervals from overlapping candidates.

IntermediateCoreNo formula2 links
Scheduling
SchedulingO(n log n)

Weighted Interval Scheduling

Weighted Interval Scheduling selects compatible intervals from overlapping candidates.

IntermediateCoreFormula2 links
Scheduling
SchedulingO(n log n)

Bin Packing First Fit

Bin Packing First Fit packs items into limited-capacity containers.

IntermediateExtendedNo formula2 links
Scheduling
SchedulingO(n log n)

Bin Packing Best Fit

Bin Packing Best Fit packs items into limited-capacity containers.

IntermediateExtendedNo formula2 links
Scheduling
SchedulingO(n log n)

Consistent Hashing Load Balancing

Consistent Hashing Load Balancing chooses jobs using priority, completion-time, or resource-availability rules.

IntermediateExtendedNo formula2 links
Scheduling
Randomness & SamplingO(n)

Knuth Shuffle

Knuth Shuffle draws samples while controlling distribution, coverage, or variance.

IntermediateCoreNo formula1 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

PCG Random Number Generator

PCG Random Number Generator generates deterministic pseudorandom sequences from a seed.

IntermediateCoreNo formula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Xorshift Random Number Generator

Xorshift Random Number Generator generates deterministic pseudorandom sequences from a seed.

IntermediateCoreNo formula4 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Xoshiro Random Number Generator

Xoshiro Random Number Generator generates deterministic pseudorandom sequences from a seed.

IntermediateCoreNo formula4 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

SplitMix64

SplitMix64 generates deterministic pseudorandom sequences from a seed.

IntermediateCoreNo formula3 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Middle Square Weyl Sequence

Middle Square Weyl Sequence places samples with low discrepancy for better coverage.

IntermediateSpecializedNo formula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Ziggurat Algorithm

Ziggurat Algorithm draws samples while controlling distribution, coverage, or variance.

IntermediateCoreNo formula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Marsaglia Polar Method

Marsaglia Polar Method draws samples while controlling distribution, coverage, or variance.

IntermediateCoreNo formula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Knuth-Yao Sampling

Knuth-Yao Sampling draws samples while controlling distribution, coverage, or variance.

IntermediateSpecializedNo formula1 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Systematic Sampling

Systematic Sampling draws samples while controlling distribution, coverage, or variance.

IntermediateCoreFormula1 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Cluster Sampling

Cluster Sampling draws samples while controlling distribution, coverage, or variance.

IntermediateCoreNo formula1 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Bootstrap Resampling

Bootstrap Resampling reuses observed data to estimate uncertainty.

IntermediateCoreFormula1 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Jackknife Resampling

Jackknife Resampling reuses observed data to estimate uncertainty.

IntermediateCoreNo formula1 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Sequential Importance Resampling

Sequential Importance Resampling reuses observed data to estimate uncertainty.

IntermediateExtendedFormula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Slice Sampling

Slice Sampling samples from a probability distribution for estimation.

IntermediateExtendedFormula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Hamiltonian Monte Carlo

Hamiltonian Monte Carlo samples from a probability distribution for estimation.

IntermediateCoreFormula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

No-U-Turn Sampler

No-U-Turn Sampler draws samples while controlling distribution, coverage, or variance.

IntermediateSpecializedFormula2 links
Randomness & SamplingSampling
Randomness & SamplingO(n)

Quasi-Monte Carlo Integration

Quasi-Monte Carlo Integration samples from a probability distribution for estimation.

IntermediateCoreFormula1 links
Randomness & SamplingSampling
ParsingO(n)

Canonical LR Parsing

Canonical LR Parsing uses grammar states and parse tables to recognize syntax.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

SLR Parsing

SLR Parsing uses grammar states and parse tables to recognize syntax.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

Recursive Ascent Parsing

Recursive Ascent Parsing turns grammar rules and token streams into structured syntax.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

Precedence Climbing

Precedence Climbing turns grammar rules and token streams into structured syntax.

IntermediateCoreNo formula2 links
Parsing
ParsingO(n)

Left Recursion Elimination

Left Recursion Elimination turns grammar rules and token streams into structured syntax.

IntermediateCoreFormula1 links
Parsing
ParsingO(n)

Left Factoring

Left Factoring turns grammar rules and token streams into structured syntax.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

Panic Mode Error Recovery

Panic Mode Error Recovery recovers from syntax errors without abandoning the whole parse.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

Phrase-Level Error Recovery

Phrase-Level Error Recovery recovers from syntax errors without abandoning the whole parse.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

Incremental Parsing

Incremental Parsing turns grammar rules and token streams into structured syntax.

IntermediateExtendedNo formula1 links
Parsing
ParsingO(n)

Island Parsing

Island Parsing turns grammar rules and token streams into structured syntax.

IntermediateExtendedNo formula1 links
Parsing
ParsingO(n)

Scannerless Parsing

Scannerless Parsing turns grammar rules and token streams into structured syntax.

IntermediateExtendedNo formula1 links
Parsing
ParsingO(n)

Lexical Tie-In Parsing

Lexical Tie-In Parsing turns grammar rules and token streams into structured syntax.

IntermediateSpecializedNo formula1 links
Parsing
ParsingO(n)

Abstract Syntax Tree Construction

Abstract Syntax Tree Construction turns grammar rules and token streams into structured syntax.

IntermediateCoreNo formula1 links
Parsing
ParsingO(n)

Parse Forest Construction

Parse Forest Construction turns grammar rules and token streams into structured syntax.

IntermediateExtendedNo formula3 links
Parsing
ParsingO(n)

Attribute Grammar Evaluation

Attribute Grammar Evaluation turns grammar rules and token streams into structured syntax.

IntermediateExtendedNo formula1 links
Parsing
ParsingO(n)

Syntax Directed Translation

Syntax Directed Translation turns grammar rules and token streams into structured syntax.

IntermediateExtendedNo formula1 links
Parsing
ParsingO(n)

DFA Minimization

DFA Minimization builds or runs finite automata over tokens.

IntermediateCoreFormula3 links
Parsing
ParsingO(n)

Regular Expression Derivative Parsing

Regular Expression Derivative Parsing builds or runs finite automata over tokens.

IntermediateExtendedFormula1 links
Parsing
CryptographyO(n)

AES-GCM

AES-GCM encrypts data with a defined symmetric construction.

IntermediateCoreFormula1 links
CryptographySecuritySymmetric KeyMessage Authentication
CryptographyO(n)

AES-CTR Mode

AES-CTR Mode encrypts data with a defined symmetric construction.

IntermediateCoreFormula1 links
CryptographySecuritySymmetric Key
CryptographyO(n)

AES-CBC Mode

AES-CBC Mode encrypts data with a defined symmetric construction.

IntermediateCoreFormula1 links
CryptographySecuritySymmetric Key
CryptographyO(n)

AES-XTS Mode

AES-XTS Mode encrypts data with a defined symmetric construction.

IntermediateSpecializedFormula1 links
CryptographySecuritySymmetric Key
CryptographyO(n)

ChaCha20-Poly1305

ChaCha20-Poly1305 encrypts data with a defined symmetric construction.

IntermediateCoreNo formula1 links
CryptographySecurityStream CipherMessage Authentication
CryptographyO(n)

CMAC

CMAC protects secrecy, integrity, or authenticity with a named cryptographic primitive.

IntermediateCoreFormula1 links
CryptographySecurityMessage AuthenticationSymmetric Key
CryptographyO(n)

Poly1305-AES

Poly1305-AES encrypts data with a defined symmetric construction.

IntermediateExtendedNo formula1 links
CryptographySecurity
CryptographyO(n)

Bcrypt

Bcrypt protects secrecy, integrity, or authenticity with a named cryptographic primitive.

IntermediateCoreFormula1 links
CryptographySecurityPassword HashingKey Derivation
CryptographyO(n)

PSS Signature Padding

PSS Signature Padding proves message authenticity with public-key verification.

IntermediateCoreNo formula1 links
CryptographySecurityDigital SignaturePublic Key
CryptographyO(n)

OAEP Padding

OAEP Padding adapts public-key encryption or signatures to safer randomized encodings.

IntermediateCoreNo formula1 links
CryptographySecurityPublic Key
CryptographyO(n)

ElGamal Encryption

ElGamal Encryption protects secrecy, integrity, or authenticity with a named cryptographic primitive.

IntermediateCoreFormula1 links
CryptographySecurityPublic Key
CryptographyO(n)

Schnorr Signature

Schnorr Signature proves message authenticity with public-key verification.

IntermediateCoreFormula6 links
CryptographySecurityDigital SignaturePublic Key
CryptographyO(n)

Pedersen Commitment

Pedersen Commitment binds a value while hiding it until it is opened.

IntermediateCoreFormula1 links
CryptographySecurityProofZero Knowledge
CryptographyO(n)

Commit-Reveal Scheme

Commit-Reveal Scheme binds a value while hiding it until it is opened.

IntermediateCoreNo formula1 links
CryptographySecurityHash FunctionProof
CryptographyO(n)

Threshold Signature Scheme

Threshold Signature Scheme proves message authenticity with public-key verification.

IntermediateSpecializedNo formula2 links
CryptographySecurityDigital SignatureSecret Sharing
CryptographyO(n)

BLS Signature

BLS Signature proves message authenticity with public-key verification.

IntermediateSpecializedNo formula1 links
CryptographySecurityDigital SignaturePublic Key
Image ProcessingO(p k)

FAST Corner Detection

FAST Corner Detection detects repeatable local image features.

IntermediateCoreNo formula3 links
Image Processing
Image ProcessingO(p k)

Harris Corner Detection

Harris Corner Detection detects repeatable local image features.

IntermediateCoreFormula3 links
Image Processing
Image ProcessingO(p k)

Shi-Tomasi Corner Detection

Shi-Tomasi Corner Detection detects repeatable local image features.

IntermediateCoreFormula2 links
Image Processing
Image ProcessingO(p k)

SIFT Feature Detection

SIFT Feature Detection detects repeatable local image features.

IntermediateCoreNo formula3 links
Image Processing
Image ProcessingO(p k)

SURF Feature Detection

SURF Feature Detection detects repeatable local image features.

IntermediateExtendedNo formula3 links
Image Processing
Image ProcessingO(p k)

ORB Feature Detection

ORB Feature Detection detects repeatable local image features.

IntermediateCoreNo formula3 links
Image Processing
Image ProcessingO(p k)

RANSAC Image Homography

RANSAC Image Homography transforms image pixels into features, masks, or restored output.

IntermediateCoreNo formula1 links
Image Processing
Image ProcessingO(p k)

Otsu Thresholding

Otsu Thresholding separates pixels by intensity or local contrast.

IntermediateCoreFormula1 links
Image Processing
Image ProcessingO(p k)

Adaptive Thresholding

Adaptive Thresholding separates pixels by intensity or local contrast.

IntermediateCoreFormula1 links
Image Processing
Image ProcessingO(p k)

K-Means Image Segmentation

K-Means Image Segmentation partitions an image into meaningful regions.

IntermediateCoreNo formula1 links
Image Processing
Image ProcessingO(p k)

Mean Shift Segmentation

Mean Shift Segmentation partitions an image into meaningful regions.

IntermediateExtendedNo formula1 links
Image Processing
Image ProcessingO(p k)

Region Growing

Region Growing transforms image pixels into features, masks, or restored output.

IntermediateExtendedNo formula1 links
Image Processing
Image ProcessingO(p k)

Active Contour Model

Active Contour Model partitions an image into meaningful regions.

IntermediateExtendedNo formula1 links
Image Processing
Image ProcessingO(p k)

Anisotropic Diffusion

Anisotropic Diffusion transforms image pixels into features, masks, or restored output.

IntermediateExtendedFormula1 links
Image Processing
Image ProcessingO(p k)

Richardson-Lucy Deconvolution

Richardson-Lucy Deconvolution transforms image pixels into features, masks, or restored output.

IntermediateSpecializedFormula1 links
Image Processing
Image ProcessingO(p k)

Retinex Algorithm

Retinex Algorithm transforms image pixels into features, masks, or restored output.

IntermediateSpecializedFormula1 links
Image Processing
Pattern MatchingO(n)

Myers Bit-Vector Algorithm

Myers Bit-Vector Algorithm finds exact or approximate matches in text or sequences.

IntermediateCoreNo formula1 links
Pattern MatchingStrings
Pattern MatchingO(n)

Ukkonen Edit Distance

Ukkonen Edit Distance scores how similar two strings, sets, or sequences are.

IntermediateCoreFormula1 links
Pattern MatchingStrings
Pattern MatchingO(n)

BK-Tree Search

BK-Tree Search finds exact or approximate matches in text or sequences.

IntermediateCoreNo formula3 links
Pattern MatchingStrings
Pattern MatchingO(n)

N-Gram Matching

N-Gram Matching finds exact or approximate matches in text or sequences.

IntermediateCoreNo formula3 links
Pattern MatchingStrings
Pattern MatchingO(n)

Cosine Similarity

Cosine Similarity scores how similar two strings, sets, or sequences are.

IntermediateCoreFormula1 links
Pattern MatchingStrings
Pattern MatchingO(n)

Jaccard Similarity

Jaccard Similarity scores how similar two strings, sets, or sequences are.

IntermediateCoreFormula1 links
Pattern MatchingStrings
Pattern MatchingO(n)

Dice Coefficient

Dice Coefficient scores how similar two strings, sets, or sequences are.

IntermediateCoreFormula1 links
Pattern MatchingStrings
Pattern MatchingO(n)

Soundex

Soundex finds exact or approximate matches in text or sequences.

IntermediateExtendedNo formula3 links
Pattern MatchingStrings
Pattern MatchingO(n)

Metaphone

Metaphone finds exact or approximate matches in text or sequences.

IntermediateExtendedNo formula3 links
Pattern MatchingStrings
Pattern MatchingO(n)

Damerau-Levenshtein Distance

Damerau-Levenshtein Distance scores how similar two strings, sets, or sequences are.

IntermediateCoreFormula2 links
Pattern MatchingStrings
Pattern MatchingO(n)

Optimal String Alignment

Optimal String Alignment aligns sequences with exact or approximate matches.

IntermediateExtendedFormula2 links
Pattern MatchingStrings
Pattern MatchingO(n)

Sellers Algorithm

Sellers Algorithm finds exact or approximate matches in text or sequences.

IntermediateExtendedNo formula2 links
Pattern MatchingStrings
Pattern MatchingO(n)

BLAST Seed-and-Extend

BLAST Seed-and-Extend aligns sequences with exact or approximate matches.

IntermediateSpecializedNo formula2 links
Pattern MatchingStrings
Pattern MatchingO(n)

FM-Index Search

FM-Index Search uses indexed text structure to speed pattern lookup.

IntermediateSpecializedFormula2 links
Pattern MatchingStrings
Pattern MatchingO(n)

Burrows-Wheeler Matching

Burrows-Wheeler Matching finds exact or approximate matches in text or sequences.

IntermediateExtendedNo formula2 links
Pattern MatchingStrings
Pattern MatchingO(n)

Karp-Miller-Rosenberg String Matching

Karp-Miller-Rosenberg String Matching finds exact or approximate matches in text or sequences.

IntermediateSpecializedNo formula2 links
Pattern MatchingStrings
CompressionO(n)

Canonical Huffman Coding

Canonical Huffman Coding assigns compact codes to symbols or integers.

IntermediateCoreFormula4 links
CompressionEncoding
CompressionO(n)

Adaptive Huffman Coding

Adaptive Huffman Coding assigns compact codes to symbols or integers.

IntermediateCoreFormula3 links
CompressionEncoding
CompressionO(n)

Shannon-Fano Coding

Shannon-Fano Coding assigns compact codes to symbols or integers.

IntermediateCoreNo formula2 links
CompressionEncoding
CompressionO(n)

Tunstall Coding

Tunstall Coding reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateExtendedNo formula1 links
CompressionEncoding
CompressionO(n)

Frame of Reference Encoding

Frame of Reference Encoding reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateCoreFormula1 links
CompressionEncoding
CompressionO(n)

Patched Frame of Reference

Patched Frame of Reference reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateExtendedFormula1 links
CompressionEncoding
CompressionO(n)

Run-Length Bit Packing Hybrid

Run-Length Bit Packing Hybrid reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateExtendedNo formula1 links
CompressionEncoding
CompressionO(n)

Predictive Image Coding

Predictive Image Coding reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateExtendedNo formula1 links
CompressionEncoding
CompressionO(n)

JPEG DCT Compression

JPEG DCT Compression transforms image blocks before quantization and entropy coding.

IntermediateCoreFormula1 links
CompressionEncoding
CompressionO(n)

JPEG-LS

JPEG-LS transforms image blocks before quantization and entropy coding.

IntermediateExtendedNo formula1 links
CompressionEncoding
CompressionO(n)

PNG Filtering

PNG Filtering reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateCoreFormula1 links
CompressionEncoding
CompressionO(n)

FLAC Linear Prediction

FLAC Linear Prediction encodes prediction errors instead of raw samples.

IntermediateCoreFormula1 links
CompressionEncoding
CompressionO(n)

Context Mixing Compression

Context Mixing Compression reduces data size using coding, prediction, dictionary, or transform structure.

IntermediateExtendedNo formula2 links
CompressionEncoding
SearchingO(log n)

Uniform Binary Search

Uniform Binary Search uses ordering or monotonic structure to eliminate candidates.

IntermediateCoreNo formula1 links
Search
SearchingO(log n)

Galloping Search

Galloping Search locates items by exploiting structure in the collection or search space.

IntermediateCoreFormula1 links
Search
SearchingO(log n)

Rotated Array Search

Rotated Array Search uses ordering or monotonic structure to eliminate candidates.

IntermediateCoreNo formula1 links
Search
SearchingO(log n)

Peak Finding

Peak Finding uses ordering or monotonic structure to eliminate candidates.

IntermediateCoreFormula1 links
Search
SearchingO(log n)

Saddleback Search

Saddleback Search locates items by exploiting structure in the collection or search space.

IntermediateCoreFormula1 links
Search
SearchingO(log n)

Fractional Cascading

Fractional Cascading locates items by exploiting structure in the collection or search space.

IntermediateSpecializedNo formula1 links
Search
SearchingO(log n)

KD-Tree Nearest Neighbor Search

KD-Tree Nearest Neighbor Search finds nearby points while pruning distant candidates.

IntermediateCoreFormula4 links
Search
SearchingO(log n)

Ball Tree Search

Ball Tree Search locates items by exploiting structure in the collection or search space.

IntermediateExtendedNo formula2 links
Search
SearchingO(log n)

Vantage-Point Tree Search

Vantage-Point Tree Search locates items by exploiting structure in the collection or search space.

IntermediateSpecializedNo formula2 links
Search
SearchingO(log n)

Branch and Bound Nearest Neighbor

Branch and Bound Nearest Neighbor finds nearby points while pruning distant candidates.

IntermediateSpecializedNo formula2 links
Search
SearchingO(log n)

Bloom Filter Membership Query

Bloom Filter Membership Query locates items by exploiting structure in the collection or search space.

IntermediateCoreFormula2 links
Search
SearchingO(log n)

Binary Search in Answer Space

Binary Search in Answer Space uses ordering or monotonic structure to eliminate candidates.

IntermediateCoreFormula2 links
Search
SortingO(n log n)

Bitonic Sort

Bitonic Sort sorts with a fixed comparison network suited to parallel execution.

IntermediateCoreNo formula1 links
Sorting
SortingO(n log n)

Odd-Even Sort

Odd-Even Sort sorts with a fixed comparison network suited to parallel execution.

IntermediateCoreNo formula1 links
Sorting
SortingO(n log n)

Odd-Even Merge Sort

Odd-Even Merge Sort sorts with a fixed comparison network suited to parallel execution.

IntermediateCoreNo formula1 links
Sorting
SortingO(n log n)

Pancake Sort

Pancake Sort orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula2 links
Sorting
SortingO(n log n)

Cycle Sort

Cycle Sort orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula2 links
Sorting
SortingO(n log n)

Smoothsort

Smoothsort orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula2 links
Sorting
SortingO(n log n)

Tournament Sort

Tournament Sort orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula2 links
Sorting
SortingO(n log n)

Library Sort

Library Sort orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula1 links
Sorting
SortingO(n log n)

Patience Sorting

Patience Sorting orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula1 links
Sorting
SortingO(n log n)

American Flag Sort

American Flag Sort orders records with a named compare, partition, or distribution strategy.

IntermediateExtendedNo formula1 links
Sorting
SortingO(n log n)

Sample Sort

Sample Sort orders large or partitioned data by coordinating smaller sorted pieces.

IntermediateCoreNo formula1 links
Sorting
Graph TraversalO(V + E)

Bron-Kerbosch Algorithm

Bron-Kerbosch Algorithm extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula3 links
Graph
Graph TraversalO(V + E)

PageRank

PageRank scores graph nodes by repeatedly propagating rank through directed links.

IntermediateCoreFormula4 links
Graph
Graph TraversalO(V + E)

HITS Algorithm

HITS Algorithm scores or groups graph nodes by link structure.

IntermediateCoreFormula2 links
Graph
Graph TraversalO(V + E)

Label Propagation Community Detection

Label Propagation Community Detection scores or groups graph nodes by link structure.

IntermediateCoreNo formula1 links
Graph
Graph TraversalO(V + E)

Louvain Method

Louvain Method extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula1 links
Graph
Graph TraversalO(V + E)

Girvan-Newman Algorithm

Girvan-Newman Algorithm extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula1 links
Graph
Graph TraversalO(V + E)

Tarjan Bridge-Finding Algorithm

Tarjan Bridge-Finding Algorithm extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula1 links
Graph
Graph TraversalO(V + E)

Chu-Liu-Edmonds Algorithm

Chu-Liu-Edmonds Algorithm extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateSpecializedNo formula1 links
Graph
Graph TraversalO(V + E)

Gabow SCC Algorithm

Gabow SCC Algorithm extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateSpecializedNo formula1 links
Graph
Graph TraversalO(V + E)

Lexicographic Breadth-First Search

Lexicographic Breadth-First Search extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula2 links
Graph
Graph TraversalO(V + E)

Maximum Cardinality Search

Maximum Cardinality Search extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula2 links
Graph
Graph TraversalO(V + E)

Transitive Closure

Transitive Closure extracts structure such as components, tours, rankings, or closures from a graph.

IntermediateCoreNo formula1 links
Graph
PathfindingO(E log V)

Weighted A*

Weighted A* finds routes through graphs, grids, or motion-planning spaces.

IntermediateCoreFormula2 links
PathfindingGraph
PathfindingO(E log V)

Lazy Theta*

Lazy Theta* guides route search with a heuristic score.

IntermediateCoreFormula3 links
PathfindingGraph
PathfindingO(E log V)

Anya Pathfinding

Anya Pathfinding finds routes through graphs, grids, or motion-planning spaces.

IntermediateSpecializedNo formula1 links
PathfindingGraph
PathfindingO(E log V)

Block A*

Block A* finds routes through graphs, grids, or motion-planning spaces.

IntermediateCoreNo formula2 links
PathfindingGraph
PathfindingO(E log V)

Subgoal Graph Pathfinding

Subgoal Graph Pathfinding finds routes through graphs, grids, or motion-planning spaces.

IntermediateExtendedNo formula2 links
PathfindingGraph
PathfindingO(E log V)

HPA*

HPA* finds routes through graphs, grids, or motion-planning spaces.

IntermediateCoreNo formula3 links
PathfindingGraph
PathfindingO(E log V)

Incremental Dijkstra

Incremental Dijkstra updates paths efficiently as graph costs change.

IntermediateCoreNo formula1 links
PathfindingGraph
PathfindingO(E log V)

Multi-Heuristic A*

Multi-Heuristic A* finds routes through graphs, grids, or motion-planning spaces.

IntermediateSpecializedNo formula2 links
PathfindingGraph
PathfindingO(E log V)

Real-Time Adaptive A*

Real-Time Adaptive A* finds routes through graphs, grids, or motion-planning spaces.

IntermediateSpecializedFormula3 links
PathfindingGraph
PathfindingO(E log V)

Probabilistic Roadmap

Probabilistic Roadmap samples feasible states and connects them into paths.

IntermediateCoreFormula1 links
PathfindingGraph
Data StructuresO(log n)

Cartesian Tree

Cartesian Tree organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula1 links
Data Structure
Data StructuresO(log n)

Interval Tree

Interval Tree organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula2 links
Data Structure
Data StructuresO(log n)

Order Statistic Tree

Order Statistic Tree organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula1 links
Data Structure
Data StructuresO(log n)

Van Emde Boas Tree

Van Emde Boas Tree organizes data around a query, update, ordering, or approximation invariant.

IntermediateSpecializedNo formula1 links
Data Structure
Data StructuresO(log n)

Radix Tree

Radix Tree organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula2 links
Data Structure
Data StructuresO(log n)

Patricia Trie

Patricia Trie organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula2 links
Data Structure
Data StructuresO(log n)

Merkle Patricia Trie

Merkle Patricia Trie organizes data around a query, update, ordering, or approximation invariant.

IntermediateSpecializedNo formula1 links
Data Structure
Data StructuresO(log n)

Count-Min Sketch

Count-Min Sketch organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreFormula3 links
Data Structure
Data StructuresO(log n)

HyperLogLog

HyperLogLog organizes data around a query, update, ordering, or approximation invariant.

IntermediateSpecializedFormula1 links
Data Structure
Data StructuresO(log n)

Cuckoo Hash Table

Cuckoo Hash Table organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula1 links
Data Structure
Data StructuresO(log n)

Robin Hood Hashing

Robin Hood Hashing organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreFormula2 links
Data Structure
Data StructuresO(log n)

Min-Max Heap

Min-Max Heap organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula1 links
Data Structure
Data StructuresO(log n)

Fibonacci Heap

Fibonacci Heap organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula4 links
Data Structure
Data StructuresO(log n)

Pairing Heap

Pairing Heap organizes data around a query, update, ordering, or approximation invariant.

IntermediateCoreNo formula4 links
Data Structure
GeometryO(n log n)

Welzl's Minimum Enclosing Circle

Welzl's Minimum Enclosing Circle computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateCoreFormula1 links
GeometryComputational Geometry
GeometryO(n log n)

Andrew's Monotone Chain

Andrew's Monotone Chain computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateCoreFormula1 links
GeometryComputational Geometry
GeometryO(n log n)

Kirkpatrick-Seidel Algorithm

Kirkpatrick-Seidel Algorithm computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateSpecializedNo formula1 links
GeometryComputational Geometry
GeometryO(n log n)

Plane Sweep Closest Pair

Plane Sweep Closest Pair computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateCoreNo formula1 links
GeometryComputational Geometry
GeometryO(n log n)

Point Location in Triangulation

Point Location in Triangulation computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateSpecializedNo formula2 links
GeometryComputational Geometry
GeometryO(n log n)

Polygon Boolean Operations

Polygon Boolean Operations computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateCoreNo formula1 links
GeometryComputational Geometry
GeometryO(n log n)

Voronoi Relaxation

Voronoi Relaxation computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateExtendedNo formula1 links
GeometryComputational Geometry
GeometryO(n log n)

Lloyd's Algorithm

Lloyd's Algorithm computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateCoreFormula1 links
GeometryComputational Geometry
GeometryO(n log n)

Mesh Decimation

Mesh Decimation computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateExtendedNo formula1 links
GeometryComputational Geometry
GeometryO(n log n)

Half-Edge Mesh Traversal

Half-Edge Mesh Traversal computes spatial relationships, shapes, or mesh changes from geometric predicates.

IntermediateExtendedNo formula1 links
GeometryComputational Geometry
Numerical MethodsO(n^2)

Householder Transformation

Householder Transformation approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Givens Rotation

Givens Rotation approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Lanczos Algorithm

Lanczos Algorithm approximates a numerical solution with iterative or algebraic steps.

IntermediateSpecializedFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Arnoldi Iteration

Arnoldi Iteration approximates a numerical solution with iterative or algebraic steps.

IntermediateSpecializedFormula2 links
Numerical Methods
Numerical MethodsO(n^2)

Thomas Algorithm

Thomas Algorithm approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Richardson Iteration

Richardson Iteration approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Richardson Extrapolation

Richardson Extrapolation approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Neville's Algorithm

Neville's Algorithm approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Brent's Method

Brent's Method approximates a numerical solution with iterative or algebraic steps.

IntermediateCoreFormula1 links
Numerical Methods
Numerical MethodsO(n^2)

Bulirsch-Stoer Method

Bulirsch-Stoer Method approximates a numerical solution with iterative or algebraic steps.

IntermediateSpecializedNo formula1 links
Numerical Methods
Signal ProcessingO(n log n)

Bessel Filter

Bessel Filter filters, models, or extracts features from sampled signals.

IntermediateCoreNo formula1 links
Signal Processing
Signal ProcessingO(n log n)

Elliptic Filter

Elliptic Filter filters, models, or extracts features from sampled signals.

IntermediateSpecializedNo formula1 links
Signal Processing
Signal ProcessingO(n log n)

Comb Filter

Comb Filter filters, models, or extracts features from sampled signals.

IntermediateCoreFormula1 links
Signal Processing
Signal ProcessingO(n log n)

All-Pass Filter

All-Pass Filter filters, models, or extracts features from sampled signals.

IntermediateCoreFormula1 links
Signal Processing
Signal ProcessingO(n log n)

Envelope Detection

Envelope Detection filters, models, or extracts features from sampled signals.

IntermediateCoreFormula1 links
Signal Processing
Signal ProcessingO(n log n)

Zero-Crossing Rate

Zero-Crossing Rate filters, models, or extracts features from sampled signals.

IntermediateCoreFormula1 links
Signal Processing
Signal ProcessingO(n log n)

Mel-Frequency Cepstral Coefficients

Mel-Frequency Cepstral Coefficients filters, models, or extracts features from sampled signals.

IntermediateCoreFormula1 links
Signal Processing
Signal ProcessingO(n log n)

Linear Predictive Coding

Linear Predictive Coding filters, models, or extracts features from sampled signals.

IntermediateCoreFormula2 links
Signal Processing
Signal ProcessingO(n log n)

Yule-Walker Method

Yule-Walker Method filters, models, or extracts features from sampled signals.

IntermediateCoreFormula3 links
Signal Processing
Signal ProcessingO(n log n)

Wiener Deconvolution

Wiener Deconvolution filters, models, or extracts features from sampled signals.

IntermediateSpecializedFormula1 links
Signal Processing
OptimizationO(t c)

Momentum Gradient Descent

Momentum Gradient Descent improves candidate solutions according to an objective function.

IntermediateCoreFormula1 links
Optimization
OptimizationO(t c)

RMSProp

RMSProp improves candidate solutions according to an objective function.

IntermediateCoreFormula1 links
Optimization
OptimizationO(t c)

Nesterov Accelerated Gradient

Nesterov Accelerated Gradient improves candidate solutions according to an objective function.

IntermediateCoreFormula1 links
Optimization
OptimizationO(t c)

FISTA

FISTA improves candidate solutions according to an objective function.

IntermediateSpecializedFormula1 links
Optimization
OptimizationO(t c)

Trust Region Method

Trust Region Method improves candidate solutions according to an objective function.

IntermediateCoreFormula1 links
Optimization
OptimizationO(t c)

Augmented Lagrangian Method

Augmented Lagrangian Method improves candidate solutions according to an objective function.

IntermediateCoreFormula1 links
Optimization
OptimizationO(t c)

Cutting Plane Method

Cutting Plane Method improves candidate solutions according to an objective function.

IntermediateExtendedFormula1 links
Optimization
OptimizationO(t c)

Subgradient Method

Subgradient Method improves candidate solutions according to an objective function.

IntermediateCoreFormula1 links
Optimization
OptimizationO(t c)

Mirror Descent

Mirror Descent improves candidate solutions according to an objective function.

IntermediateSpecializedFormula1 links
Optimization
OptimizationO(t c)

Frank-Wolfe Algorithm

Frank-Wolfe Algorithm improves candidate solutions according to an objective function.

IntermediateSpecializedFormula1 links
Optimization
Machine LearningO(n d t)

Gaussian Naive Bayes

Gaussian Naive Bayes learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreFormula1 links
Machine Learning
Machine LearningO(n d t)

Multinomial Naive Bayes

Multinomial Naive Bayes learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreFormula1 links
Machine Learning
Machine LearningO(n d t)

Extra Trees

Extra Trees learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreNo formula2 links
Machine Learning
Machine LearningO(n d t)

Isolation Forest

Isolation Forest learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreFormula1 links
Machine Learning
Machine LearningO(n d t)

One-Class SVM

One-Class SVM learns a predictive, clustering, representation, or policy model from data.

IntermediateSpecializedNo formula1 links
Machine Learning
Machine LearningO(n d t)

Self-Organizing Map

Self-Organizing Map learns a predictive, clustering, representation, or policy model from data.

IntermediateSpecializedFormula1 links
Machine Learning
Machine LearningO(n d t)

Learning Vector Quantization

Learning Vector Quantization learns a predictive, clustering, representation, or policy model from data.

IntermediateSpecializedFormula1 links
Machine Learning
Machine LearningO(n d t)

Label Propagation

Label Propagation learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreFormula1 links
Machine Learning
Machine LearningO(n d t)

Policy Gradient

Policy Gradient learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreFormula2 links
Machine Learning
Machine LearningO(n d t)

Actor-Critic Method

Actor-Critic Method learns a predictive, clustering, representation, or policy model from data.

IntermediateCoreFormula2 links
Machine Learning
RenderingO(p s)

SVGF Denoising

SVGF Denoising computes visibility, shading, filtering, or lighting for images.

IntermediateSpecializedNo formula1 links
RenderingGraphics
RenderingO(p s)

Irradiance Caching

Irradiance Caching computes visibility, shading, filtering, or lighting for images.

IntermediateExtendedNo formula1 links
RenderingGraphics
RenderingO(p s)

Light Mapping

Light Mapping computes visibility, shading, filtering, or lighting for images.

IntermediateExtendedNo formula1 links
RenderingGraphics
RenderingO(p s)

Light Propagation Volumes

Light Propagation Volumes computes visibility, shading, filtering, or lighting for images.

IntermediateSpecializedNo formula1 links
RenderingGraphics
RenderingO(p s)

Cascaded Shadow Maps

Cascaded Shadow Maps computes visibility, shading, filtering, or lighting for images.

IntermediateCoreNo formula1 links
RenderingGraphics
RenderingO(p s)

Percentage-Closer Filtering

Percentage-Closer Filtering computes visibility, shading, filtering, or lighting for images.

IntermediateCoreFormula1 links
RenderingGraphics
RenderingO(p s)

Physically Based Shading

Physically Based Shading computes visibility, shading, filtering, or lighting for images.

IntermediateCoreFormula1 links
RenderingGraphics
RenderingO(p s)

Oren-Nayar Shading

Oren-Nayar Shading computes visibility, shading, filtering, or lighting for images.

IntermediateExtendedFormula1 links
RenderingGraphics
RenderingO(p s)

Subsurface Scattering Approximation

Subsurface Scattering Approximation computes visibility, shading, filtering, or lighting for images.

IntermediateSpecializedNo formula1 links
RenderingGraphics
SimulationO(n t)

Impulse-Based Collision Response

Impulse-Based Collision Response advances physical or agent state under forces, constraints, or collisions.

IntermediateExtendedFormula1 links
Simulation
SimulationO(n t)

Penalty Method Collision Response

Penalty Method Collision Response advances physical or agent state under forces, constraints, or collisions.

IntermediateExtendedFormula1 links
Simulation
SimulationO(n t)

Continuous Collision Detection

Continuous Collision Detection advances physical or agent state under forces, constraints, or collisions.

IntermediateExtendedNo formula1 links
Simulation
SimulationO(n t)

Stable Fluids

Stable Fluids advances physical or agent state under forces, constraints, or collisions.

IntermediateCoreFormula1 links
Simulation
SimulationO(n t)

FLIP Fluid Simulation

FLIP Fluid Simulation advances physical or agent state under forces, constraints, or collisions.

IntermediateCoreFormula1 links
Simulation
SimulationO(n t)

MPM Simulation

MPM Simulation advances physical or agent state under forces, constraints, or collisions.

IntermediateSpecializedNo formula1 links
Simulation
SimulationO(n t)

Verlet Cloth Simulation

Verlet Cloth Simulation advances physical or agent state under forces, constraints, or collisions.

IntermediateCoreNo formula1 links
Simulation
SimulationO(n t)

Projective Dynamics

Projective Dynamics advances physical or agent state under forces, constraints, or collisions.

IntermediateSpecializedFormula1 links
Simulation
SimulationO(n t)

Shape Matching Simulation

Shape Matching Simulation advances physical or agent state under forces, constraints, or collisions.

IntermediateSpecializedNo formula1 links
Simulation
SimulationO(n t)

Position Based Rigid Bodies

Position Based Rigid Bodies advances physical or agent state under forces, constraints, or collisions.

IntermediateCoreFormula1 links
Simulation
Procedural GenerationO(n)

Simple Tiled Model

Simple Tiled Model uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateCoreNo formula3 links
Procedural Generation
Procedural GenerationO(n)

Recursive Backtracking Maze Generation

Recursive Backtracking Maze Generation uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateCoreFormula2 links
Procedural Generation
Procedural GenerationO(n)

Prim Maze Generation

Prim Maze Generation uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateCoreNo formula1 links
Procedural Generation
Procedural GenerationO(n)

Kruskal Maze Generation

Kruskal Maze Generation uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateCoreFormula1 links
Procedural Generation
Procedural GenerationO(n)

Growing Tree Maze Algorithm

Growing Tree Maze Algorithm uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateCoreNo formula1 links
Procedural Generation
Procedural GenerationO(n)

Perlin Worms

Perlin Worms uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateCoreFormula1 links
Procedural Generation
Procedural GenerationO(n)

Agent-Based City Generation

Agent-Based City Generation uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateExtendedNo formula1 links
Procedural Generation
Procedural GenerationO(n)

Road Network L-System

Road Network L-System uses rules, noise, or constraints to synthesize repeatable generated content.

IntermediateSpecializedNo formula2 links
Procedural Generation
Graph TraversalO((V + E) log V)

Boruvka's Algorithm

Builds a minimum spanning tree by repeatedly adding each component's cheapest outgoing edge.

IntermediateCoreNo formula4 links
GraphTraversalPriority Queue
Graph TraversalO((V + E) log V)

Reverse-Delete Algorithm

Builds a minimum spanning tree by deleting expensive edges that are not needed for connectivity.

IntermediateCoreNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

Transitive Reduction

Removes directed edges that are implied by alternate paths while preserving reachability.

IntermediateCoreNo formula3 links
GraphTraversal
Graph TraversalO(n log n)

Warshall's Algorithm

Computes transitive closure by repeatedly allowing each vertex as an intermediate step.

IntermediateCoreNo formula3 links
GraphTraversal
Graph TraversalO(V^2 E)

Push-Relabel

Computes maximum flow by pushing excess flow from active vertices and raising vertex heights.

IntermediateCoreFormula7 links
GraphTraversalNetwork Flow
Graph TraversalO(V^2 E)

Capacity Scaling Max Flow

Capacity Scaling Max Flow addresses maximum flow by solving flow on large-capacity edges first and lowering the scale threshold.

IntermediateExtendedNo formula6 links
GraphTraversalNetwork Flow
Graph TraversalO((V + E) log V)

Gomory-Hu Tree

Gomory-Hu Tree addresses all-pairs minimum cuts by building a cut-equivalent tree from repeated minimum cut computations.

AdvancedSpecializedNo formula5 links
GraphTraversal
Graph TraversalO((V + E) log V)

Stoer-Wagner Min Cut

Stoer-Wagner Min Cut uses merging weighted vertices while tracking the cheapest phase cut for global minimum cut.

IntermediateCoreNo formula4 links
GraphTraversalPriority Queue
Graph TraversalO((V + E) log V)

Karger's Min Cut

Karger's Min Cut addresses global minimum cut by randomly contracting edges until only two supernodes remain.

IntermediateExtendedNo formula3 links
GraphTraversalRandomness
Graph TraversalO(V^2 E)

Edmonds' Blossom Algorithm

Edmonds' Blossom Algorithm uses shrinking odd cycles so augmenting paths can be found in non-bipartite graphs for general graph matching.

IntermediateCoreNo formula7 links
GraphTraversalMatching
Graph TraversalO(V^2 E)

Bipartite Matching DFS

Bipartite Matching DFS uses searching for augmenting paths from unmatched left-side vertices for bipartite matching.

IntermediateCoreNo formula6 links
GraphTraversalMatching
Graph TraversalO(V^2 E)

Gale-Shapley Algorithm

Gale-Shapley Algorithm uses letting one side propose while the other side keeps its best current proposal for stable matching.

IntermediateCoreNo formula5 links
GraphTraversalMatching
Graph TraversalO((V + E) log V)

Fleury's Algorithm

Fleury's Algorithm uses walking unused edges while avoiding bridges unless no alternative remains for eulerian cycle construction.

IntermediateCoreNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

Hopcroft-Tarjan Planarity Test

Hopcroft-Tarjan Planarity Test addresses planarity detection by using depth-first search lowpoint structure to detect planarity obstructions.

AdvancedSpecializedNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

Boyer-Myrvold Planarity Test

Boyer-Myrvold Planarity Test addresses planarity embedding by incrementally maintaining embedding constraints during depth-first traversal.

AdvancedSpecializedNo formula4 links
GraphTraversalConstraint Solving
Graph TraversalO((V + E) log V)

Planar Embedding

Planar Embedding addresses planar embedding construction by ordering edges around vertices so a planar graph can be drawn without crossings.

IntermediateExtendedNo formula5 links
GraphTraversal
Graph TraversalO((V + E) log V)

Fruchterman-Reingold Layout

Fruchterman-Reingold Layout uses balancing attractive edge forces and repulsive vertex forces for force-directed graph drawing.

IntermediateCoreNo formula5 links
GraphTraversal
Graph TraversalO((V + E) log V)

Sugiyama Layered Drawing

Draws directed graphs in layers by ranking vertices, reducing crossings, and assigning coordinates.

IntermediateCoreNo formula6 links
GraphTraversal
Graph TraversalO((V + E) log V)

Reingold-Tilford Tree Layout

Draws tidy rooted trees by positioning subtrees recursively while separating their contours.

IntermediateCoreNo formula6 links
GraphTraversalDivide and Conquer
Graph TraversalO((V + E) log V)

Walker Tree Layout

Walker Tree Layout addresses tree drawing by extending tidy tree placement to variable-size nodes and general rooted trees.

IntermediateExtendedNo formula5 links
GraphTraversalRoot Finding
Graph TraversalO((V + E) log V)

Greedy Graph Coloring

Greedy Graph Coloring uses assigning each vertex the smallest available color in an ordering for vertex coloring.

IntermediateCoreNo formula6 links
GraphTraversal
Graph TraversalO(2^n)

DSATUR

DSATUR uses choosing the uncolored vertex with the highest saturation degree for vertex coloring.

IntermediateCoreNo formula6 links
GraphTraversalConstraint Solving
Graph TraversalO((V + E) log V)

Welsh-Powell Coloring

Welsh-Powell Coloring uses coloring vertices in descending degree order with the first available color for vertex coloring.

IntermediateCoreNo formula5 links
GraphTraversal
Graph TraversalO((V + E) log V)

Misra-Gries Edge Coloring

Misra-Gries Edge Coloring addresses edge coloring by rotating fans around vertices to color edges with bounded extra colors.

AdvancedSpecializedNo formula5 links
GraphTraversal
Graph TraversalO((V + E) log V)

Weisfeiler-Lehman Refinement

Refines graph vertex colors by repeatedly encoding each vertex's neighborhood color multiset.

IntermediateCoreNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

VF2 Graph Isomorphism

Tests graph or subgraph isomorphism by backtracking over node mappings with feasibility pruning.

IntermediateCoreNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

Nauty Canonical Labeling

Nauty Canonical Labeling addresses canonical graph labeling by partitioning and refining vertex sets to produce canonical graph forms.

AdvancedSpecializedNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

Greedy Maximal Independent Set

Greedy Maximal Independent Set uses selecting a vertex and deleting its neighbors until no vertices remain for independent set approximation.

IntermediateCoreNo formula8 links
GraphTraversalApproximation
Graph TraversalO((V + E) log V)

Biconnected Components

Finds maximal graph regions that stay connected after removing any one vertex.

IntermediateCoreNo formula2 links
GraphTraversal
Graph TraversalO((V + E) log V)

Lengauer-Tarjan Dominators

Lengauer-Tarjan Dominators addresses dominator tree construction by combining DFS numbering with union-find style ancestor queries.

AdvancedSpecializedNo formula2 links
GraphTraversal
Graph TraversalO((V + E) log V)

Johnson's Cycle Enumeration

Johnson's Cycle Enumeration addresses simple cycle enumeration by blocking and unblocking vertices to enumerate elementary directed cycles.

IntermediateExtendedNo formula4 links
GraphTraversal
Graph TraversalO((V + E) log V)

Chordal Graph Recognition

Chordal Graph Recognition addresses chordal graph recognition by checking whether maximum cardinality search produces a perfect elimination ordering.

IntermediateExtendedNo formula3 links
GraphTraversal
PathfindingO(n log n)

RRT*

RRT* addresses motion planning by rewiring a rapidly-exploring random tree to improve path cost over time.

IntermediateExtendedNo formula6 links
PathfindingGraphRandomness
PathfindingO((V + E) log V)

Visibility Graph Roadmap

Visibility Graph Roadmap handles shortest path among obstacles by connecting mutually visible obstacle vertices and searching the resulting graph.

IntermediateCoreNo formula5 links
PathfindingGraph
PathfindingO(V + E)

0-1 BFS

Finds shortest paths in graphs whose edge weights are only 0 or 1.

IntermediateCoreNo formula5 links
PathfindingGraph
PathfindingO(V + E + C)

Dial's Algorithm

Dial's Algorithm addresses shortest paths with small integer weights by using buckets instead of a heap for bounded nonnegative edge weights.

IntermediateExtendedNo formula5 links
PathfindingGraphPriority Queue
PathfindingO(n log n)

Eppstein K Shortest Paths

Eppstein K Shortest Paths addresses k shortest paths by building a sidetrack structure that enumerates paths after one shortest-path tree.

AdvancedSpecializedNo formula4 links
PathfindingGraph
PathfindingO(n log n)

LRTA*

LRTA* addresses online pathfinding by updating heuristic estimates while acting one step at a time.

IntermediateExtendedNo formula2 links
PathfindingGraph
PathfindingO(n)

Conflict-Based Search

Conflict-Based Search addresses multi-agent pathfinding by splitting conflicts into constraints and solving constrained paths for each agent.

AdvancedSpecializedNo formula2 links
PathfindingGraphConstraint Solving
PathfindingO(n log n)

Safe Interval Path Planning

Safe Interval Path Planning addresses dynamic obstacle pathfinding by searching intervals when each state is safely traversable.

AdvancedSpecializedNo formula2 links
PathfindingGraph
PathfindingO(n log n)

Lazy PRM

Lazy PRM addresses motion planning by building a probabilistic roadmap while deferring expensive collision checks.

IntermediateExtendedNo formula6 links
PathfindingGraphRandomness
PathfindingO(n log n)

RRT-Connect

RRT-Connect addresses motion planning by growing two random trees toward each other until they connect.

IntermediateExtendedNo formula5 links
PathfindingGraphRandomness
PathfindingO(n)

Anytime D*

Anytime D* addresses dynamic pathfinding by refining a repairable path while gradually tightening the heuristic bound.

AdvancedSpecializedNo formula1 links
PathfindingGraph
PathfindingO(n)

Lifelong Dijkstra

Lifelong Dijkstra addresses dynamic shortest paths by reusing previous shortest-path information after edge cost changes.

IntermediateExtendedNo formula1 links
PathfindingGraph
PathfindingO(n)

Multi-Goal A*

Multi-Goal A* addresses multi-target pathfinding by searching toward the best among several goals using admissible goal estimates.

IntermediateExtendedNo formula1 links
PathfindingGraph
PathfindingO(n log n)

Dynamic Window Approach

Chooses robot velocity commands by simulating short feasible motions and scoring them.

IntermediateCoreNo formula3 links
PathfindingGraphRandomness
OptimizationO(2^n)

DPLL

DPLL uses recursively assigning variables with unit propagation and backtracking for satisfiability.

IntermediateCoreNo formula9 links
OptimizationDivide and ConquerConstraint Solving
OptimizationO(2^n)

CDCL

CDCL uses learning conflict clauses from implication graphs and backjumping to useful decision levels for satisfiability.

IntermediateCoreNo formula8 links
OptimizationConstraint SolvingGraph
OptimizationO(2^n)

WalkSAT

Searches for a satisfying assignment by flipping variables in unsatisfied clauses.

IntermediateCoreNo formula6 links
OptimizationConstraint SolvingRandomness
OptimizationO(2^n)

Davis-Putnam Algorithm

Davis-Putnam Algorithm addresses satisfiability by eliminating variables by resolution before checking the remaining formula.

IntermediateExtendedNo formula4 links
OptimizationConstraint Solving
OptimizationO(2^n)

Unit Propagation

Simplifies SAT formulas by repeatedly assigning literals forced by unit clauses.

IntermediateCoreFormula5 links
OptimizationConstraint Solving
OptimizationO(2^n)

Pure Literal Elimination

Pure Literal Elimination handles satisfiability simplification by assigning variables that appear with only one polarity.

IntermediateCoreNo formula4 links
OptimizationConstraint Solving
OptimizationO(2^n)

2-SAT Implication Graph

Solves 2-SAT by turning binary clauses into implications and checking strongly connected components.

IntermediateCoreFormula4 links
OptimizationConstraint Solving
OptimizationO(n log n)

0/1 Knapsack Dynamic Programming

Solves 0/1 knapsack by tabulating the best value for each item prefix and capacity.

IntermediateCoreFormula6 links
OptimizationDynamic Programming
OptimizationO(n log n)

Knapsack FPTAS

Knapsack FPTAS addresses knapsack approximation by scaling item values so dynamic programming runs in polynomial time.

IntermediateExtendedNo formula6 links
OptimizationDynamic ProgrammingApproximation
OptimizationO(n log n)

Meet-in-the-Middle Knapsack

Meet-in-the-Middle Knapsack addresses knapsack optimization by enumerating half-instance sums and combining compatible partial solutions.

IntermediateExtendedNo formula6 links
Optimization
OptimizationO(n log n)

Branch-and-Bound Knapsack

Branch-and-Bound Knapsack uses pruning item-choice subtrees whose optimistic bound cannot beat the incumbent for knapsack optimization.

IntermediateCoreNo formula6 links
Optimization
OptimizationO(n^3)

Hungarian Algorithm

Solves the assignment problem by maintaining dual labels and improving a minimum-cost matching.

IntermediateCoreFormula6 links
OptimizationMatching
OptimizationO(V^2 E)

Min-Cost Max-Flow

Finds a maximum feasible flow whose shipped units have minimum total cost.

IntermediateCoreFormula4 links
OptimizationNetwork FlowPriority Queue
OptimizationO(n log n)

Vertex Cover 2-Approximation

Vertex Cover 2-Approximation uses choosing both endpoints of uncovered edges to build a bounded cover for vertex cover approximation.

IntermediateCoreFormula8 links
OptimizationApproximation
OptimizationO(n log n)

Branch-and-Bound Vertex Cover

Branch-and-Bound Vertex Cover addresses vertex cover by branching on uncovered edges and pruning covers that cannot improve the incumbent.

IntermediateExtendedNo formula6 links
Optimization
OptimizationO(n log n)

Greedy Set Cover

Approximates set cover by repeatedly choosing the set that covers the most uncovered elements per cost.

IntermediateCoreFormula8 links
OptimizationApproximation
OptimizationO(n)

Algorithm X

Algorithm X uses choosing a constraint column and recursively trying rows that satisfy it for exact cover search.

IntermediateCoreNo formula7 links
OptimizationDivide and ConquerConstraint Solving
OptimizationO(n)

Dancing Links

Dancing Links handles exact cover search by using linked-list removal and restoration to implement Algorithm X efficiently.

IntermediateCoreNo formula7 links
Optimization
OptimizationO(2^n)

Branch-and-Bound Set Packing

Branch-and-Bound Set Packing addresses set packing by branching on compatible sets and bounding the best possible packing.

IntermediateExtendedNo formula6 links
Optimization
OptimizationO(2^n)

Local Search Set Packing

Local Search Set Packing addresses set packing by swapping sets in and out of a packing to improve objective value.

IntermediateExtendedNo formula3 links
Optimization
OptimizationO(2^n)

Held-Karp TSP

Solves exact TSP by dynamic programming over visited-city subsets and the current last city.

IntermediateCoreFormula7 links
OptimizationDynamic Programming
OptimizationO(n log n)

Christofides Algorithm

Builds a metric TSP tour within 3/2 of optimum using a tree, matching, and shortcutting.

IntermediateCoreFormula7 links
OptimizationMatchingApproximation
OptimizationO(n^2)

Nearest Neighbor TSP

Nearest Neighbor TSP uses repeatedly visiting the nearest unvisited city for traveling salesperson heuristic.

IntermediateCoreNo formula5 links
OptimizationGreedy
OptimizationO(n^2)

2-Opt

2-Opt uses reversing crossing tour segments when the swap shortens the tour for traveling salesperson improvement.

IntermediateCoreNo formula5 links
Optimization
OptimizationO(n^2)

Lin-Kernighan

Lin-Kernighan addresses traveling salesperson improvement by adaptively choosing k-edge exchanges that improve a tour.

AdvancedSpecializedNo formula2 links
Optimization
OptimizationO(2^n)

Branch-and-Bound Maximum Clique

Branch-and-Bound Maximum Clique addresses maximum clique by branching on candidate vertices while bounding clique size with coloring.

IntermediateExtendedNo formula4 links
Optimization
OptimizationO(2^n)

Tomita Clique Algorithm

Tomita Clique Algorithm addresses maximum clique by using greedy coloring bounds to prune maximum-clique search.

AdvancedSpecializedNo formula3 links
OptimizationGreedy
OptimizationO(2^n)

Dreyfus-Wagner Steiner Tree

Dreyfus-Wagner Steiner Tree addresses steiner tree by combining terminal subsets with shortest-path distances.

AdvancedSpecializedNo formula5 links
OptimizationDynamic Programming
OptimizationO(2^n)

Feedback Vertex Set Branching

Feedback Vertex Set Branching addresses feedback vertex set by branching on cycle vertices until the remaining graph is acyclic.

AdvancedSpecializedNo formula2 links
OptimizationGraph
OptimizationO(2^n)

Minimum Feedback Arc Set Heuristic

Minimum Feedback Arc Set Heuristic addresses feedback arc set by ordering vertices to reduce backward edges in a directed graph.

IntermediateExtendedNo formula3 links
OptimizationGraph
OptimizationO(poly(n, L))

Karmarkar's Algorithm

Karmarkar's Algorithm uses following a projective interior path toward an optimal linear-programming solution for linear programming.

IntermediateCoreNo formula4 links
Optimization
OptimizationO(n log n)

Revised Simplex Method

Solves linear programs by updating a compact basis representation instead of a full tableau.

IntermediateCoreNo formula4 links
Optimization
Numerical MethodsO(n^3)

Strassen Algorithm

Multiplies matrices by replacing eight block multiplications with seven recursive products.

IntermediateCoreFormula6 links
Numerical MethodsDivide and ConquerLinear Algebra
Numerical MethodsO(n^3)

Coppersmith-Winograd Algorithm

Coppersmith-Winograd Algorithm addresses matrix multiplication by using algebraic tensor techniques to reduce asymptotic multiplication exponents.

AdvancedSpecializedNo formula5 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n^3)

Blocked Matrix Multiplication

Blocked Matrix Multiplication uses multiplying matrix tiles to improve cache locality for matrix multiplication.

IntermediateCoreNo formula6 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n^3)

Winograd Matrix Multiplication

Winograd Matrix Multiplication addresses matrix multiplication by rearranging products to reduce scalar multiplications.

IntermediateExtendedNo formula5 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n log n)

Karatsuba Multiplication

Karatsuba Multiplication uses splitting numbers and replacing one recursive multiplication with additions for integer multiplication.

IntermediateCoreFormula8 links
Numerical MethodsDivide and Conquer
Numerical MethodsO(n log n)

Toom-Cook Multiplication

Toom-Cook Multiplication addresses integer multiplication by evaluating number polynomials at points and interpolating the product.

IntermediateExtendedNo formula8 links
Numerical Methods
Numerical MethodsO(n log n)

FFT-Based Integer Multiplication

FFT-Based Integer Multiplication addresses integer multiplication by convolving digit blocks with a fast Fourier transform.

IntermediateExtendedNo formula7 links
Numerical Methods
Numerical MethodsO(n log n)

Schoolbook Multiplication

Multiplies numbers by forming digit-by-digit partial products and adding them by place value.

BeginnerFoundationNo formula6 links
Numerical Methods
Numerical MethodsO(n log n)

Burnikel-Ziegler Division

Burnikel-Ziegler Division addresses large integer division by splitting operands into blocks for recursive division.

AdvancedSpecializedNo formula2 links
Numerical MethodsDivide and Conquer
Numerical MethodsO(n log n)

Knuth Division Algorithm

Knuth Division Algorithm uses normalizing divisor digits and estimating quotient digits for multi-precision division.

IntermediateCoreNo formula3 links
Numerical Methods
Numerical MethodsO(log min(a, b))

Euclidean Algorithm

Computes the greatest common divisor of two integers by repeatedly taking remainders.

BeginnerFoundationFormula9 links
Numerical Methods
Numerical MethodsO(log min(a, b))

Extended Euclidean Algorithm

Computes a greatest common divisor together with coefficients satisfying Bezout's identity.

BeginnerFoundationFormula9 links
Numerical Methods
Numerical MethodsO(n log n)

Binary GCD

Binary GCD uses using shifts and subtraction instead of division for greatest common divisor.

IntermediateCoreNo formula6 links
Numerical Methods
Numerical MethodsO(k^2)

Chinese Remainder Theorem Algorithm

Combines compatible congruences into one solution modulo the product of the moduli.

IntermediateCoreFormula5 links
Numerical Methods
Numerical MethodsO(n log n)

Exponentiation by Squaring

Computes powers efficiently by repeatedly squaring the base and using the exponent's binary digits.

BeginnerFoundationFormula6 links
Numerical Methods
Numerical MethodsO(n log log n)

Sieve of Eratosthenes

Finds all primes up to a limit by repeatedly crossing out multiples of each discovered prime.

BeginnerFoundationNo formula4 links
Numerical Methods
Numerical MethodsO(n log n)

Sieve of Atkin

Sieve of Atkin addresses prime generation by using modular quadratic forms to mark candidate primes.

IntermediateExtendedNo formula4 links
Numerical Methods
Numerical MethodsO(n^3)

Bareiss Algorithm

Bareiss Algorithm uses performing fraction-free Gaussian elimination to keep intermediate values exact for determinant computation.

IntermediateCoreFormula6 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n^3)

Laplace Expansion

Laplace Expansion uses expanding a determinant into cofactors along a row or column for determinant computation.

IntermediateCoreNo formula6 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n log n)

Ryser Formula

Ryser Formula addresses permanent computation by summing signed products over subsets of matrix columns.

AdvancedSpecializedFormula4 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n log n)

Berkowitz Algorithm

Berkowitz Algorithm addresses characteristic polynomial by building determinant coefficients without division.

AdvancedSpecializedNo formula4 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n log n)

Neville's Algorithm

Neville's Algorithm addresses polynomial interpolation by recursively combining nearby interpolation values.

IntermediateCoreNo formula7 links
Numerical MethodsDivide and ConquerInterpolation
Numerical MethodsO(n log n)

Clenshaw Algorithm

Clenshaw Algorithm addresses polynomial series evaluation by evaluating recurrence-defined polynomial expansions backward.

IntermediateExtendedNo formula7 links
Numerical MethodsDynamic Programming
Numerical MethodsO(n log n)

Brent's Method

Brent's Method uses combining bisection, secant, and inverse quadratic interpolation steps for root finding.

IntermediateCoreFormula7 links
Numerical MethodsInterpolationRoot Finding
Numerical MethodsO(n log n)

Ridders' Method

Ridders' Method addresses root finding by using exponential interpolation inside a bracketing interval.

IntermediateExtendedNo formula6 links
Numerical MethodsInterpolationRoot Finding
Numerical MethodsO(n log n)

Steffensen's Method

Steffensen's Method addresses root finding by accelerating fixed-point iteration with a finite-difference correction.

IntermediateExtendedNo formula3 links
Numerical MethodsRoot Finding
Numerical MethodsO(n^3)

GMRES

GMRES uses minimizing residuals over a growing Krylov subspace for linear system solving.

IntermediateCoreNo formula6 links
Numerical Methods
Numerical MethodsO(n^3)

MINRES

MINRES addresses symmetric linear system solving by minimizing residuals for symmetric systems without requiring positive definiteness.

IntermediateExtendedNo formula6 links
Numerical Methods
Numerical MethodsO(n^3)

BiCGSTAB

BiCGSTAB addresses nonsymmetric linear system solving by combining bi-conjugate gradients with residual smoothing.

IntermediateExtendedNo formula6 links
Numerical Methods
Numerical MethodsO(n^3)

Householder QR

Householder QR addresses qr decomposition by reflecting columns to zero out subdiagonal entries.

IntermediateCoreNo formula5 links
Numerical MethodsLinear Algebra
Numerical MethodsO(n log n)

Kahan Summation

Kahan Summation addresses floating-point summation by tracking lost low-order bits as a compensation term.

IntermediateCoreNo formula4 links
Numerical MethodsConstraint Solving
Numerical MethodsO(n log n)

Aitken Delta-Squared Process

Aitken Delta-Squared Process addresses convergence acceleration by using three successive estimates to extrapolate a faster limit.

IntermediateExtendedNo formula4 links
Numerical Methods
GeometryO(1)

Orientation Test

Determines whether three points make a left turn, right turn, or are collinear.

BeginnerFoundationFormula5 links
GeometryComputational GeometryLinear Algebra
GeometryO(1)

In-Circle Test

Tests whether a point lies inside, on, or outside the circumcircle of three oriented points.

IntermediateCoreNo formula4 links
GeometryComputational Geometry
GeometryO(n log n)

Shewchuk Adaptive Predicates

Shewchuk Adaptive Predicates addresses robust geometric predicates by increasing arithmetic precision only when floating-point signs are uncertain.

AdvancedSpecializedNo formula4 links
GeometryComputational Geometry
GeometryO(n log n)

Trapezoidal Map Point Location

Locates a query point in a planar subdivision using a trapezoidal decomposition and search DAG.

IntermediateCoreNo formula4 links
GeometryComputational Geometry
GeometryO(n log n)

Kirkpatrick Point Location

Kirkpatrick Point Location addresses planar point location by building a hierarchy of simplified triangulations for logarithmic queries.

AdvancedSpecializedNo formula3 links
GeometryComputational Geometry
GeometryO(n log n)

Straight Skeleton

Straight Skeleton addresses polygon offset structure by moving polygon edges inward and recording where wavefront events meet.

AdvancedSpecializedNo formula3 links
GeometryComputational Geometry
GeometryO(n log n)

Voronoi-Based Medial Axis

Voronoi-Based Medial Axis addresses medial axis extraction by deriving central shape branches from Voronoi features.

AdvancedSpecializedNo formula5 links
GeometryComputational Geometry
GeometryO(n log n)

Monotone Polygon Partitioning

Monotone Polygon Partitioning uses sweeping vertices to split a polygon into y-monotone pieces for polygon decomposition.

IntermediateCoreNo formula6 links
GeometryComputational Geometry
GeometryO(n log n)

Hertel-Mehlhorn Convex Decomposition

Hertel-Mehlhorn Convex Decomposition addresses convex polygon decomposition by removing unnecessary triangulation diagonals while preserving convex pieces.

IntermediateExtendedNo formula6 links
GeometryComputational Geometry
GeometryO(n log n)

Bayazit Convex Decomposition

Bayazit Convex Decomposition addresses convex polygon decomposition by recursively splitting reflex vertices to create convex parts.

IntermediateExtendedNo formula6 links
GeometryComputational GeometryDivide and Conquer
GeometryO(n log n)

Visvalingam-Whyatt Simplification

Visvalingam-Whyatt Simplification handles polyline simplification by removing points with the smallest effective triangle area.

IntermediateCoreNo formula2 links
GeometryComputational Geometry
GeometryO(n log n)

Hausdorff Distance

Measures the largest nearest-neighbor gap between two point sets or shapes.

IntermediateCoreFormula7 links
GeometryComputational Geometry
GeometryO(n log n)

Frechet Distance

Measures curve similarity while preserving the order of points along each curve.

IntermediateCoreFormula7 links
GeometryComputational Geometry
GeometryO(V^2 E)

Shape Context Matching

Shape Context Matching addresses shape matching by describing points by histograms of relative positions around them.

IntermediateExtendedNo formula5 links
GeometryComputational GeometryMatching
GeometryO(n + m)

Procrustes Analysis

Aligns two point sets by choosing the translation, scale, and rotation that minimize squared error.

IntermediateCoreNo formula3 links
GeometryComputational GeometryStrings
GeometryO(n log n)

Topological Sweep

Topological Sweep addresses line arrangement traversal by sweeping an arrangement by maintaining a topological ordering instead of coordinates.

AdvancedSpecializedNo formula4 links
GeometryComputational Geometry
GeometryO(n log n)

Zone Algorithm

Zone Algorithm addresses line arrangement update by walking the cells crossed by an inserted curve or line.

AdvancedSpecializedNo formula4 links
GeometryComputational Geometry
GeometryO(n log n)

Incremental Line Arrangement Construction

Incremental Line Arrangement Construction addresses line arrangement construction by adding lines one at a time and updating affected cells.

IntermediateExtendedNo formula5 links
GeometryComputational Geometry
GeometryO(n log n)

Constrained Delaunay Triangulation

Constrained Delaunay Triangulation uses building Delaunay-like triangles while preserving required input edges for constrained triangulation.

IntermediateCoreNo formula6 links
GeometryComputational Geometry
GeometryO(n log n)

Power Diagram

Power Diagram addresses weighted voronoi diagram by assigning points by weighted power distance instead of ordinary distance.

IntermediateExtendedNo formula2 links
GeometryComputational Geometry
GeometryO(n log n)

Configuration-Space Obstacle Construction

Configuration-Space Obstacle Construction addresses configuration-space construction by expanding obstacles by the robot shape to convert motion to point navigation.

AdvancedSpecializedNo formula5 links
GeometryComputational Geometry
GeometryO(n log n)

Rotating Calipers Diameter

Finds the farthest pair of points on a convex polygon by scanning antipodal pairs.

IntermediateCoreNo formula5 links
GeometryComputational Geometry
GeometryO(n log n)

Rotating Calipers Width

Rotating Calipers Width addresses polygon width by rotating support lines to find the minimum strip containing a convex polygon.

IntermediateExtendedNo formula5 links
GeometryComputational Geometry
GeometryO(n log n)

Rotating Calipers Antipodal Pairs

Rotating Calipers Antipodal Pairs addresses antipodal pair enumeration by advancing support vertices around a convex polygon.

IntermediateExtendedNo formula5 links
GeometryComputational Geometry
GeometryO(1)

Circle-Line Intersection

Finds where a line crosses, touches, or misses a circle.

IntermediateCoreFormula4 links
GeometryComputational Geometry
GeometryO(1)

Point-to-Segment Distance

Computes the shortest distance from a point to a finite line segment.

IntermediateCoreFormula5 links
GeometryComputational Geometry
GeometryO(n log n)

Orthogonal Range Search

Reports points inside an axis-aligned query rectangle or box.

IntermediateCoreNo formula6 links
GeometryComputational Geometry
GeometryO(n log n)

Polygon Offset Curve

Polygon Offset Curve addresses polygon offsetting by shifting edges and resolving joins to expand or shrink a polygon.

IntermediateExtendedNo formula4 links
GeometryComputational Geometry
Pattern MatchingO(n + m)

Shortest Common Superstring Greedy

Shortest Common Superstring Greedy handles shortest common superstring by repeatedly merging strings with the largest overlap.

IntermediateCoreNo formula4 links
Pattern MatchingStringsApproximation
Pattern MatchingO(n + m)

Overlap Graph Superstring

Overlap Graph Superstring addresses shortest common superstring by modeling string overlaps as a weighted graph path problem.

IntermediateExtendedNo formula2 links
Pattern MatchingStringsApproximationGraph
Pattern MatchingO(n + m)

Ukkonen Suffix Tree Construction

Ukkonen Suffix Tree Construction uses maintaining active points and suffix links during online construction for suffix tree construction.

IntermediateCoreNo formula5 links
Pattern MatchingStrings
Pattern MatchingO(n + m)

Suffix Automaton LCS

Finds a longest common substring by scanning one string through the suffix automaton of another.

IntermediateCoreFormula6 links
Pattern MatchingStrings
Pattern MatchingO(n + m)

Bit-Parallel Levenshtein

Bit-Parallel Levenshtein addresses edit distance by packing dynamic-programming columns into machine words.

IntermediateExtendedNo formula13 links
Pattern MatchingStringsMatchingApproximation
Pattern MatchingO(n + m)

Shift-And Algorithm

Uses bit masks to update all exact-match prefix states in parallel.

IntermediateCoreNo formula13 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Shift-Or Algorithm

Performs exact string matching with bit masks that track unmatched pattern positions.

IntermediateCoreNo formula13 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

BNDM

BNDM addresses exact string matching by matching backward with a nondeterministic automaton encoded as bit masks.

IntermediateExtendedNo formula6 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Commentz-Walter

Commentz-Walter addresses multiple string matching by combining Boyer-Moore style shifts with trie-based pattern matching.

AdvancedSpecializedNo formula2 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Galil-Seiferas

Galil-Seiferas addresses exact string matching by using periodicity structure to guarantee linear-time matching with constant space.

AdvancedSpecializedNo formula2 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Two-Way String Matching

Searches exactly by splitting the pattern at a critical factorization and scanning in two directions.

IntermediateCoreNo formula4 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Crochemore-Perrin

Crochemore-Perrin addresses exact string matching by applying two-way matching with maximal suffix computation.

IntermediateExtendedNo formula3 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Manber-Myers Suffix Array Construction

Manber-Myers Suffix Array Construction uses doubling prefix lengths and sorting suffix ranks iteratively for suffix array construction.

IntermediateCoreNo formula4 links
Pattern MatchingStrings
Pattern MatchingO(n + m)

SA-IS Suffix Array Construction

SA-IS Suffix Array Construction addresses suffix array construction by inducing suffix order from recursively sorted LMS substrings.

AdvancedSpecializedNo formula4 links
Pattern MatchingStringsDivide and Conquer
Pattern MatchingO(n + m)

Kasai LCP Algorithm

Computes the LCP array from a suffix array in linear time.

IntermediateCoreFormula3 links
Pattern MatchingStrings
Pattern MatchingO(n + m)

Prefix Function

Computes the longest proper border length for every prefix of a string.

IntermediateCoreNo formula3 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Morris-Pratt

Morris-Pratt uses using prefix borders to avoid rechecking matched characters for exact string matching.

IntermediateCoreNo formula3 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Horspool Algorithm

Finds exact string matches by shifting with the bad-character rule from the pattern's last position.

IntermediateCoreNo formula3 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Sunday Quick Search

Searches for a pattern by shifting according to the character just after the current window.

IntermediateCoreNo formula3 links
Pattern MatchingStringsMatching
Pattern MatchingO(n + m)

Gotoh Algorithm

Gotoh Algorithm addresses affine-gap sequence alignment by using separate dynamic-programming states for opening and extending gaps.

IntermediateExtendedNo formula5 links
Pattern MatchingStrings
Pattern MatchingO(n + m)

Affine Gap Alignment

Affine Gap Alignment addresses sequence alignment by penalizing gap openings more than gap extensions.

IntermediateExtendedNo formula5 links
Pattern MatchingStrings
Pattern MatchingO(n + m)

Hirschberg Algorithm

Computes sequence alignment using divide and conquer to reduce memory.

IntermediateCoreNo formula5 links
Pattern MatchingStringsDynamic Programming
Data StructuresO(log n)

Cuckoo Hashing

Resolves hash collisions by moving keys between multiple candidate buckets.

IntermediateCoreNo formula3 links
Data StructureHashing
Data StructuresO(n log n)

X-Fast Trie

X-Fast Trie addresses predecessor queries by hashing binary trie prefixes to search integer keys by level.

AdvancedSpecializedNo formula3 links
Data StructureHashing
Data StructuresO(n log n)

Y-Fast Trie

Y-Fast Trie addresses predecessor queries by combining x-fast trie representatives with balanced buckets.

AdvancedSpecializedNo formula3 links
Data Structure
Data StructuresO(log n)

Judy Array

Judy Array addresses sparse array storage by using adaptive trie nodes tuned for sparse integer keys.

AdvancedSpecializedNo formula2 links
Data Structure
Data StructuresO((V + E) log V)

Cover Tree

Cover Tree addresses nearest-neighbor search by organizing points in nested metric covers across distance scales.

IntermediateExtendedNo formula7 links
Data Structure
Data StructuresO((V + E) log V)

BK-Tree

Indexes metric-space items by storing children at discrete distances from each node.

IntermediateCoreNo formula6 links
Data StructureApproximation
Data StructuresO(log n)

Binomial Heap

Maintains a mergeable priority queue as a forest of binomial trees.

IntermediateCoreNo formula5 links
Data StructurePriority Queue
Data StructuresO(V + E)

Compressed Sparse Row

Stores a sparse matrix by keeping nonzero values, column indices, and row offsets.

IntermediateCoreNo formula5 links
Data StructureLinear AlgebraGraph
Data StructuresO(E)

Edge List Representation

Represents a graph as a list of edges, optionally with weights or other edge data.

BeginnerFoundationNo formula3 links
Data StructureGraph
Data StructuresO(n / w)

Bitset Operations

Represents dense sets as machine-word bits so membership and set operations run in word-sized chunks.

IntermediateCoreNo formula4 links
Data Structure
Data StructuresO(log n)

Persistent Union-Find

Persistent Union-Find addresses versioned connectivity by recording parent and rank changes so older connectivity states remain queryable.

AdvancedSpecializedNo formula2 links
Data Structure
Data StructuresO((V + E) log V)

Balanced KD-Tree Construction

Builds a k-d tree by recursively splitting points near the median along alternating dimensions.

IntermediateCoreNo formula5 links
Data Structure
Data StructuresO((V + E) log V)

Approximate KD-Tree Search

Approximate KD-Tree Search addresses approximate nearest-neighbor search by pruning tree branches using distance bounds and an approximation tolerance.

IntermediateExtendedNo formula5 links
Data StructureApproximation
Data StructuresO(log n)

Leftist Heap

Maintains a mergeable heap by keeping the shortest null path on the right spine.

IntermediateCoreNo formula4 links
Data StructurePriority Queue
Data StructuresO(log n)

Skew Heap

Maintains a self-adjusting mergeable heap by swapping children during every meld.

IntermediateCoreNo formula4 links
Data StructurePriority Queue
Data StructuresO((V + E) log V)

Euler Tour Tree

Euler Tour Tree addresses dynamic forest connectivity by representing each tree as a sequence maintained by a balanced tree.

AdvancedSpecializedNo formula3 links
Data Structure
Data StructuresO((V + E) log V)

Link-Cut Tree

Link-Cut Tree addresses dynamic tree path queries by using splay trees to expose and update root-to-node paths.

AdvancedSpecializedNo formula3 links
Data StructureRoot Finding
CryptographyO(k^2)

Miller-Rabin Primality Test

Tests whether an integer is probably prime by looking for modular witnesses of compositeness.

IntermediateCoreFormula8 links
CryptographyRandomness
CryptographyO(k^2)

Pollard's Rho Factorization

Finds a nontrivial factor by searching for cycles in a pseudorandom modular sequence.

IntermediateCoreNo formula2 links
CryptographyRandomness
CryptographyO(k^2)

AKS Primality Test

AKS Primality Test addresses deterministic primality testing by checking polynomial congruences that characterize prime numbers.

AdvancedSpecializedNo formula2 links
Cryptography
CryptographyO(k^2)

Fermat Primality Test

Checks probable primality using Fermat's congruence for selected bases.

IntermediateCoreNo formula4 links
Cryptography
CryptographyO(k^2)

Montgomery Multiplication

Multiplies numbers modulo n without trial division by working in Montgomery form.

IntermediateCoreFormula5 links
Cryptography
CryptographyO(k^2)

Barrett Reduction

Reduces large integers modulo a fixed n using a precomputed reciprocal approximation.

IntermediateCoreFormula5 links
Cryptography
CryptographyO(log e * M(k))

Modular Exponentiation

Computes large powers modulo an integer without constructing the full power.

BeginnerFoundationNo formula10 links
Cryptography
CryptographyO((V + E) log V)

HMAC-DRBG

Generates deterministic random bits by updating HMAC-based internal state.

IntermediateCoreNo formula5 links
CryptographyRandomnessGraph
CryptographyO((V + E) log V)

CTR-DRBG

Generates deterministic random bits with a block-cipher counter construction.

IntermediateCoreNo formula4 links
CryptographyRandomnessGraph
CryptographyO((V + E) log V)

Hash-DRBG

Generates deterministic random bits by iterating a cryptographic hash over internal state.

IntermediateCoreNo formula2 links
CryptographyRandomnessHashingGraph
CryptographyO((V + E) log V)

Fortuna PRNG

Fortuna PRNG addresses cryptographic random generation by collecting entropy pools and reseeding a generator conservatively.

IntermediateExtendedNo formula2 links
CryptographyRandomnessGraph
CryptographyO(n log n)

Fiat-Shamir Transform

Turns some interactive public-coin proofs into noninteractive proofs by hashing the transcript.

IntermediateCoreNo formula2 links
CryptographyHashing
CryptographyO(k^2)

Lamport One-Time Signature

Signs one message by revealing selected one-time secret values for its digest bits.

IntermediateCoreNo formula3 links
Cryptography
CryptographyO(log n)

Merkle Signature Scheme

Merkle Signature Scheme addresses hash-based signatures by authenticating many one-time public keys with a Merkle tree.

IntermediateExtendedNo formula2 links
CryptographyHashing
CryptographyO(k^2)

DSA

Signs message digests with modular arithmetic over a subgroup and a per-signature nonce.

IntermediateCoreNo formula3 links
Cryptography
CryptographyO(k^2)

ElGamal Signature

Signs messages with a discrete-log construction using a fresh random nonce.

IntermediateCoreNo formula2 links
CryptographyRandomness
CompressionO(log n)

LZ78

Compresses by emitting dictionary references while growing a phrase dictionary from the input stream.

IntermediateCoreNo formula4 links
Compression
CompressionO(log n)

LZSS

Compresses by choosing between literal bytes and LZ77-style back-references.

IntermediateCoreNo formula2 links
CompressionStrings
CompressionO((V + E) log V)

Context Tree Weighting

Context Tree Weighting addresses predictive compression by mixing predictions from contexts of different depths.

AdvancedSpecializedNo formula6 links
Compression
CompressionO(n)

Context Mixing

Context Mixing addresses predictive compression by combining many model predictions into an arithmetic coder.

AdvancedSpecializedNo formula6 links
Compression
CompressionO(n)

PAQ Compression

PAQ Compression addresses predictive compression by using context mixing and adaptive models for high compression ratios.

AdvancedSpecializedNo formula6 links
Compression
CompressionO(n)

Sequitur Compression

Sequitur Compression addresses grammar-based compression by building a context-free grammar by replacing repeated digrams.

IntermediateExtendedNo formula3 links
Compression
CompressionO(n)

Re-Pair Compression

Re-Pair Compression addresses grammar-based compression by repeatedly replacing the most frequent adjacent symbol pair.

IntermediateExtendedNo formula3 links
Compression
CompressionO(n)

rANS Coding

rANS Coding addresses asymmetric numeral systems by encoding symbols by updating an integer state according to symbol frequencies.

IntermediateExtendedNo formula2 links
Compression
SchedulingO(n log n)

Earliest Due Date Scheduling

Orders jobs by due date to reduce lateness-oriented scheduling risk.

IntermediateCoreNo formula6 links
Scheduling
SchedulingO(n log n)

Least Slack Time Scheduling

Prioritizes the ready task with the least time cushion before its deadline.

IntermediateCoreNo formula4 links
Scheduling
SchedulingO(n log n)

Critical Ratio Scheduling

Critical Ratio Scheduling addresses production scheduling by prioritizing jobs by time remaining divided by work remaining.

IntermediateExtendedNo formula4 links
SchedulingDivide and Conquer
SchedulingO(n log n)

Highest Response Ratio Next

Chooses the ready job with the largest ratio of waiting time plus service time to service time.

IntermediateCoreNo formula3 links
Scheduling
SchedulingO(n log n)

Moore-Hodgson Algorithm

Minimizes the number of late jobs on a single machine by dropping the longest job from overloaded prefixes.

IntermediateCoreNo formula3 links
Scheduling
SchedulingO(n log n)

Workload Backfilling

Workload Backfilling addresses cluster scheduling by running smaller jobs early when they do not delay reserved larger jobs.

IntermediateExtendedNo formula4 links
Scheduling
SchedulingO(n log n)

Shortest Remaining Time First

Preemptively runs the ready job with the smallest remaining processing time.

IntermediateCoreNo formula3 links
Scheduling
Randomness & SamplingO((V + E) log V)

Erdos-Renyi Graph Generation

Generates a random graph by independently including possible edges with fixed probability.

IntermediateCoreFormula5 links
Randomness & SamplingRandomnessGraph
Randomness & SamplingO((V + E) log V)

Barabasi-Albert Model

Generates scale-free-style networks by preferentially attaching new nodes to high-degree nodes.

IntermediateCoreNo formula5 links
Randomness & SamplingRandomnessGraph
Randomness & SamplingO((V + E) log V)

Watts-Strogatz Model

Generates small-world networks by rewiring a regular ring lattice with some probability.

IntermediateCoreNo formula5 links
Randomness & SamplingRandomnessGraph
Randomness & SamplingO((V + E) log V)

Configuration Model

Configuration Model addresses degree-constrained graph generation by matching random degree stubs to produce a graph with a target degree sequence.

IntermediateExtendedNo formula3 links
Randomness & SamplingRandomnessMatchingGraph
Randomness & SamplingO(n log n)

Randomized Rounding

Turns fractional optimization values into integral choices using probabilities derived from the fractional solution.

IntermediateCoreFormula2 links
Randomness & SamplingRandomnessMatchingApproximation
Randomness & SamplingO(n log n)

Alias Table Construction

Preprocesses a discrete distribution so weighted samples can be drawn in constant time.

IntermediateCoreFormula2 links
Randomness & SamplingRandomness
ParsingO(n log n)

Hopcroft DFA Minimization

Minimizes a DFA by repeatedly splitting state partitions with distinguishing transitions.

IntermediateCoreNo formula3 links
Parsing
ParsingO(n log n)

Brzozowski DFA Minimization

Brzozowski DFA Minimization addresses finite-state machine minimization by reversing and determinizing the automaton twice.

IntermediateExtendedNo formula3 links
Parsing
ParsingO(n log n)

LR(1) Item Set Construction

Builds canonical LR(1) parser states from grammar items with lookahead symbols.

IntermediateCoreNo formula3 links
Parsing
ParsingO(n log n)

GLL Parsing

GLL Parsing addresses general context-free parsing by using graph-structured stacks to explore multiple parse paths.

IntermediateExtendedNo formula2 links
ParsingGraph
ParsingO(n log n)

Recursive Transition Network

Recursive Transition Network addresses grammar-driven parsing by representing grammar rules as transition graphs that call one another.

IntermediateExtendedNo formula2 links
ParsingGraph
Image ProcessingO(n log n)

HOG Feature Descriptor

Describes local image shape by accumulating gradient-orientation histograms over cells.

IntermediateCoreNo formula5 links
Image Processing
Image ProcessingO(n log n)

SIFT

Detects and describes scale-invariant image keypoints from local gradient structure.

IntermediateCoreNo formula7 links
Image Processing
Image ProcessingO(n log n)

SURF

SURF addresses fast feature detection by approximating Hessian responses with integral-image box filters.

IntermediateExtendedNo formula3 links
Image ProcessingApproximation
Image ProcessingO(n log n)

ORB

Detects oriented FAST keypoints and describes them with rotated binary BRIEF-style tests.

IntermediateCoreNo formula7 links
Image Processing
Image ProcessingO((V + E) log V)

RANSAC Homography Estimation

Estimates a planar homography while rejecting mismatched feature correspondences.

IntermediateCoreNo formula5 links
Image ProcessingRandomnessGraph
Machine LearningO(n^3)

Gaussian Process Regression

Predicts a continuous target with a Gaussian process posterior over functions.

IntermediateCoreFormula3 links
Machine Learning
Machine LearningO(n^3)

Gaussian Process Classification

Gaussian Process Classification addresses bayesian classification by using a Gaussian process latent function with a classification likelihood.

IntermediateExtendedNo formula2 links
Machine Learning
Machine LearningO(k^2)

Matrix Factorization

Approximates a data matrix as a product of lower-dimensional latent factor matrices.

IntermediateCoreNo formula4 links
Machine LearningLinear Algebra
Machine LearningO(n log n)

Word2Vec Skip-Gram

Learns word embeddings by predicting nearby context words from a center word.

IntermediateCoreNo formula2 links
Machine Learning
SimulationO(n log n)

Barnes-Hut Simulation

Approximates many-body forces by grouping distant bodies in a spatial tree.

IntermediateCoreFormula5 links
SimulationApproximation
SimulationO(n log n)

Fast Multipole Method

Fast Multipole Method addresses approximate n-body simulation by expanding far-field interactions and translating multipole summaries.

AdvancedSpecializedNo formula3 links
SimulationApproximation
SimulationO(n)

Verlet Neighbor List

Caches nearby particle pairs so neighbor searches can be reused across several simulation steps.

IntermediateCoreNo formula5 links
Simulation
RenderingO(n log n)

Depth Peeling

Depth Peeling addresses order-independent transparency by rendering successive depth layers from front to back.

IntermediateExtendedNo formula4 links
Rendering
RenderingO(n log n)

Order-Independent Transparency

Renders transparent fragments without requiring a single global depth-sorted draw order.

IntermediateCoreNo formula4 links
Rendering
SortingO(n log n)

Natural Merge Sort

Natural Merge Sort addresses adaptive sorting by detecting existing sorted runs and merging them.

IntermediateCoreNo formula3 links
Sorting
SortingO(n log n)

Flashsort

Flashsort addresses distribution sorting by classifying elements into buckets by estimated value distribution.

IntermediateExtendedNo formula3 links
Sorting
SearchingO(n)

Floyd-Rivest Selection

Selects the kth order statistic by sampling to narrow the partition range.

IntermediateCoreNo formula3 links
SearchRandomness
Signal ProcessingO(n log n)

Levinson-Durbin Recursion

Solves Toeplitz linear systems from autocorrelation values using a stable recursive update.

IntermediateCoreFormula4 links
Signal ProcessingDivide and Conquer
Signal ProcessingO(n log n)

Burg's Method

Burg's Method addresses autoregressive spectral estimation by estimating reflection coefficients by minimizing forward and backward prediction errors.

IntermediateExtendedNo formula3 links
Signal Processing
Procedural GenerationO(n log n)

Wang Tiles

Generates tiled patterns by matching edge colors between neighboring tiles.

IntermediateCoreNo formula4 links
Procedural Generation
Procedural GenerationO(n log n)

Truchet Tiles

Generates decorative patterns by rotating or selecting simple tile motifs.

IntermediateCoreNo formula3 links
Procedural Generation
Numerical MethodsO(n + m)

Cuthill-McKee Algorithm

Orders sparse matrix graph vertices to reduce matrix bandwidth.

AdvancedExtendedNo formula3 links
GraphMatrixBreadth First Search
Numerical MethodsO(n + m)

Reverse Cuthill-McKee Algorithm

Reverses Cuthill-McKee ordering to improve sparse matrix bandwidth profiles.

AdvancedExtendedNo formula3 links
GraphMatrixBreadth First Search
Data StructuresO(log^d n + k) query after preprocessing

Range Tree

Supports orthogonal range queries with a layered balanced-tree structure.

AdvancedCoreNo formula2 links
TreeRange Query
OptimizationPolynomial; commonly dominated by shortest paths and matching-style augmentation

Chinese Postman Algorithm

Finds a minimum-cost closed walk that traverses every edge of a graph.

AdvancedExtendedNo formula2 links
GraphOptimizationEulerian Path
OptimizationO(n^2) per pass in common bisection implementations

Kernighan-Lin Algorithm

Improves a graph bisection by swapping vertex pairs to reduce cut cost.

AdvancedExtendedNo formula2 links
GraphOptimizationLocal Search
OptimizationO(n + m) per pass with suitable gain buckets

Fiduccia-Mattheyses Algorithm

Refines network or graph partitions with efficient single-vertex moves.

AdvancedExtendedNo formula2 links
GraphOptimizationLocal Search
Procedural GenerationO(n!) generated permutations

Heap's Algorithm

Generates permutations by recursively swapping elements.

IntermediateExtendedNo formula2 links
Procedural Generation
Procedural GenerationO(n!) generated permutations

Steinhaus-Johnson-Trotter Algorithm

Generates permutations so adjacent outputs differ by one adjacent swap.

IntermediateExtendedNo formula2 links
Procedural Generation
Procedural GenerationO(2^n) for all subsets; O(3^n) for nested mask/submask enumeration

Bitmask Subset Enumeration

Enumerates subsets by treating integers as bit masks.

IntermediateExtendedNo formula1 links
Bit LevelProcedural Generation