← All problems
Easy · Heap / Priority Queue
Last Stone Weight
Repeatedly smash the two heaviest stones and return the remaining weight.
Full problem and submission ↗Repeatedly smash the two heaviest stones and return the remaining weight.
Full problem and submission ↗