Minimize cost of removing table legs
Filed under Directi
The question
Given a table with n legs each having a specific length and removal cost, choose to remove legs such that exactly m legs remain, and at least m/2 remaining legs have the maximum length present among the remaining set, while minimizing total removal cost.
No write-up yet. Related questions below have one.
Related Directi questions
Collected from public candidate posts and coding forums. Updated Nov 2026.