CS Vis
  • Algorithms
  • Theory
    • Computation
    • Complexity
  • Regular Languages
    • DFA
    • NFA
    • DFA → Regex
  • Context-Free Languages
    • CFG
    • PDA
    • CFG → CNF
  • Turing Machine
  • FAQ
  • About
  • Contact
  • Graphs & Trees
  • Sorting
  • Searching & Arrays
  • Dynamic Programming
  • Divide & Conquer
  • Greedy Algorithms
CS Vis
  • Turing Machine
Theory
  • Computation
  • Complexity

Regular Languages

  • DFA
  • NFA
  • DFA → Regex

Context-Free Languages

  • CFG
  • PDA
  • CFG → CNF

Algorithms

  • Graphs & Trees
  • Sorting
  • Searching & Arrays
  • Dynamic Programming
  • Divide & Conquer
  • Greedy Algorithms
  • FAQ
  • About
  • Contact
← All Domains

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.

More coming soon
New greedy algorithms algorithms on the way.

Want a specific algorithm added? Request it by email at contact@csvisualizer.com.

About·FAQ·Privacy Policy

© 2026 Dan Tsvyetkov