LeetCode 881. Boats to Save People解題(Python)

題目以下:python   The i-th person has weight people[i], and each boat can carry a maximum weight of limit.ide Each boat carries at most 2 people at the same time, provided the sum of the weight of those p
相關文章
相關標籤/搜索