Topic: Greedy Algorithm Problem / Level: beginner

Problem: Given a set of people and their weights, find the minimum number of groups that can be formed, ensuring the total weight of each group does not exceed a limit.

Run the code to see the output here...