AlgoDrishti — Algorithms and Data Structures

Learn with interactive visualizations and detailed theory.

Browse the encyclopedia

Sitemap and topic directory

Find every algorithm, its purpose, an interactive visualization, and a detailed theory guide.

DAA ConceptsCore concepts and your learning path.DAA Concepts
Analysis & CorrectnessDerive bounds and prove why algorithms work.Analysis & Correctness
Divide and ConquerSplit, solve, combine and analyze.Divide and Conquer
Branch and BoundExplore search trees and prune with safe bounds.Branch and Bound
Complexity TheoryCertificates, reductions and computational limits.Complexity Theory
DAA ExtensionsAdvanced algorithm concepts and techniques.DAA Extensions
SortingWatch comparisons, swaps, partitions, merges, heaps, buckets, and gap passes.Sorting
SearchingFind targets, bounds, peaks, and positions with step-by-step pointer movement.Searching
Data StructuresInspect linear structures, hash tables, trees, heaps, tries, range-query structures, memory, and learning tools.Data Structures
GraphsExplore traversal, shortest paths, spanning trees, topological order, and strongly connected components.Graphs
Dynamic ProgrammingBuild recurrence tables, dependency arrows, traceback paths, and memoized states.Dynamic Programming
StringsVisualize pattern matching, rolling hashes, prefixes, suffixes, and palindromes.Strings
Number TheoryLearn gcd, modular arithmetic, primes, totients, and RSA-supporting math.Number Theory
BacktrackingStep through search trees, choices, constraints, dead ends, and undo operations.Backtracking
GreedySee local choices, exchange arguments, priority queues, and greedy-vs-DP tradeoffs.Greedy
Matrix / GridVisualize cells, neighbors, paths, flood fill, mazes, and matrix transformations.Matrix / Grid
GamesLearn game rules, legal moves, evaluation, search trees, and decision-making strategies.Games