Google interview question

binary search on continuous range (cake cutting)