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

Regular Languages

  • DFA
  • NFA
  • DFA → Regex

Context-Free Languages

  • CFG
  • PDA
  • CFG → CNF
Testing
  • Combinatorial
  • Control FlowNew
  • SubsumptionNew
  • FAQ
  • About
  • Contact

Preferences

Language
Theme
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.

Request more
Missing something? Get in touch and we'll add it.
Home·About·FAQ·What's New
·Credits·Privacy Policy

© 2026 CSVisualizer.com