Cut a rectangular Cake | Inmobi Interview

How do you cut a rectangular cake into two equal pieces when someone has already taken a rectangular piece from it?
The removed piece an be any size or at any place in the cake. You are only allowed one straight cut.





Join the centers of the original and the removed rectangle. It works for 
cuboids too!

Leave a Reply

Your email address will not be published. Required fields are marked *

For Inserting code :
Paste your code in the comment form, select it and then click the language link

C | C++ | Java |