Fractal Interview Question

The painters partition problem : A very standard problem using binary search