881. Boats to Save People 解題時剛好在聽這首,隨意分享一下 OneRepublic - Counting Stars (One Night in Malibu) 題目敘述 You are given an array people where people[i] is the weight of the i**th person, and an infinite number of boats where each boat can carry a maximum we...
Markdown supported · ⌘↵ to post
No responses yet.