Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given a set of people with different weights and a boat with a weight limit. Find the minimum number of boat trips required to transport everyone safely across a river.

Run the code to see the output here...