AlgoVis
  • Graphs & Trees
  • Sorting
  • Searching & Arrays
  • Dynamic Programming
  • Divide & Conquer
  • Greedy Algorithms
  • About
  • Contact
AlgoVis
  • Graphs & Trees
  • Sorting
  • Searching & Arrays
  • Dynamic Programming
  • Divide & Conquer
  • Greedy Algorithms
  • About
  • Contact

Greedy Algorithms

Make locally optimal choices at each step to arrive at a global solution.

Dijkstra's Algorithm

A greedy shortest-path algorithm: always expand the nearest unvisited node. Works on non-negative edge weights.

Interval Scheduling

Selects the maximum number of non-overlapping intervals.

Huffman Coding

Builds an optimal prefix-free encoding tree based on symbol frequencies.

About·Privacy Policy

© 2026 Dan Tsvyetkov