Leetcode #Day12 #Java #Last Stone Weight (1) 썸네일형 리스트형 Leetcode[day12] - 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. Suppose the stones have weights x and y with x 이전 1 다음