Topic: Greedy Algorithm Problem / Level: intermediate

Problem: Given a list of people with different weights and a boat with a weight limit, find the minimum number of boat trips required to transport all people.

Run the code to see the output here...