Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given a set of people with different weights and an elevator with a weight limit. Find the minimum number of elevator trips required to transport all people safely.

Run the code to see the output here...