Topic: Greedy Algorithm Problem / Level: beginner

Problem: Distribute books to students such that each student gets a contiguous set of books and the total pages assigned to each student is minimized.

Run the code to see the output here...