Topic: Greedy Algorithm Problem / Level: beginner

Problem: You are given a set of people with different weights. Find the minimum number of boats required to transport all people across a river without exceeding a weight limit per boat.

Run the code to see the output here...