Topic: Greedy Algorithm Problem / Level: beginner

Problem: You are given a list of people with their ages. Find the minimum number of groups such that the age difference within each group is minimized.

Run the code to see the output here...