Fair Reading Load — Solution & Editorial
Identical to the shipping problem: binary search the load limit; greedily cut a new block when the running sum would exceed it.
Complexity: O(N log(sum))
Identical to the shipping problem: binary search the load limit; greedily cut a new block when the running sum would exceed it.
Complexity: O(N log(sum))