[LeetCode] 1033. Moving Stones Until Consecutive 移动石子直到连续

Three stones are on a number line at positions , , and . Each turn, you pick up a stone at an endpoint (ie., either the lowest or highest position sto
posted @ 2021-02-17 15:05  Grandyang  阅读(417)  评论(0编辑  收藏  举报
Fork me on GitHub