CodingReported in a candidate post, Apr 2024
Group people into boats of up to three under a weight limit
Filed under CodingMart
The question
Given weights and a limit, with each boat carrying at most three people, return the groups so every boat is filled as fully as possible.
No write-up yet. Related questions below have one.
Related CodingMart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.