Topic: Greedy Algorithm Problem / Level: beginner

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

Run the code to see the output here...