Book Allocation Problem Leetcode Practice Questions