DSA
exchange argument
the proof technique that a greedy choice is safe
Source board
This definition comes from the board below. Open it to see the term in context.
Try it
The greedy bet, the lab built from this board.
More terms from this board
- backtrackingincremental build + prune dead branches (DFS over solutions)
- brute forcetry all possibilities (correct baseline)
- constraint satisfactionfind an assignment meeting all rules (backtracking)
- divide & conquersplit/solve/combine
- pruningcutting a branch that can't succeed
- the meta-methodbrute force → find bottleneck → apply the pattern that removes it → verify