[LeetCode] 1040. Moving Stones Until Consecutive II 移动石子直到连续之二

On an infinite number line, the position of the i th stone is given by . Call a stone an endpoint stone if it has the smallest or largest position. Ea
posted @ 2021-02-25 13:47  Grandyang  阅读(553)  评论(0编辑  收藏  举报
Fork me on GitHub