Topic: Greedy Algorithm Problem / Level: intermediate

Problem: Find the minimum number of boats required to transport all people across a river, where each person has a weight and each boat has a weight limit.

Run the code to see the output here...