Easy#1046Max-Heap Simulation

Last Stone Weight

Smash the two heaviest stones together repeatedly.