Community Problem

Boats to Save People

Difficulty: Medium

Given person weights, a boat capacity, and a 2-person-per-boat limit, find the minimum number of boats.