LeetCode Solution, Medium, 881. Boats to Save People
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...
blog.taiwolskit.com3 min read