Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given a list of people with weights and a boat with a limited capacity. Find the minimum number of trips required to transport all the people across the river.

Run the code to see the output here...