AlgoMaster Logo

Boats to Save People

people=[1, 2, 2, 3],limit=3
0 / 14
algomaster.io
Step:Save 4 people with boats that hold 2 and carry at most 3