Topic: Greedy Algorithm Problem / Level: beginner

Problem: You are given an array of people with different weights. Find the minimum number of buses required to transport all the people, where each bus has a weight limit.

Run the code to see the output here...