Minimum Page Allocation Leetcode Contest