Problem Statement

Given:

books[i] = pages in ith book

m students

Allocate books such that: