Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/05/04 (1)
넘치게 채우기
[LeetCode] 881. Boats to Save People
https://leetcode.com/problems/boats-to-save-people/description/leetcode - Boats to Save People문제 유형 : 정렬, 그리디, 투 포인터문제 난이도 : Medium 문제You are given an array people where people[i] is the weight of the ith person, and an infinite number of boats where each boat can carry a maximum weight of limit. Each boat carries at most two people at the same time, provided the sum of the weight of those peopl..
PS/LeetCode
2024. 5. 4. 10:18