[LeetCode] 1046. Last Stone Weight 最后的石头重量

We have a collection of stones, each stone has a positive integer weight. Each turn, we choose the two heaviest stones and smash them together. Suppos
posted @ 2021-03-01 12:31  Grandyang  阅读(1093)  评论(0编辑  收藏  举报
Fork me on GitHub