Groups
Category
Simulated annealing is a probabilistic search that sometimes accepts worse moves to escape local optima, mimicking how metals cool and crystallize.
Bitmask DP compresses the state of a subset of n elements into an integer mask, enabling elegant dynamic programming over all subsets.