274181
easyGrind 75

Last Stone Weight

Last Stone Weight tests whether you can keep a best-so-far structure honest as you go. It's a great warm-up that builds priority-based reasoning without a ton of moving parts. If your heap represents best candidates right now, the rest falls into place.

Arrays & HashingHeap / Priority Queue
๐Ÿ‘ฉโ€๐Ÿซ
๐Ÿ‘จโ€๐Ÿ’ผ

Meet Allison & Tim

Your AI coaches

Practice coding interviews out loud with real-time voice coaching. Your code actually runs.

Free ยท No sign up ยท Early access
1Last Stone Weighteasy
Based onLeetCode

Get this problem sent to your inbox