Topic: Greedy Algorithm Problem / Level: intermediate

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

Run the code to see the output here...