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
相关文章
相关标签/搜索