Hungarian Algorithm · Optimal Assignment
unseel.com · Min-cost matching · Row/col reduction · O(n³)
Matched cost
Phase 0 / 3
State
Cost (taller = pricier)
Reducing row / column
Zero cell (free edge)
Chosen assignment
Unseel.com · Hungarian Algorithm