Topic: Greedy Algorithm Problem / Level: intermediate

Problem: Given a list of people with weights and a boat with a maximum capacity, find the minimum number of boat trips required to transport all people safely across a river.

Run the code to see the output here...