Divide the Cake

Consider a rectangular cake with a rectangular section (of any size or orientation) removed from it. Is it possible to divide the cake exactly in half with only one cut?

Sign Up
to access hints and editorial solutions for Divide the Cake
Asked In:


Click here to start solving coding interview questions