Intel Interview Question

In a party, there are five people and a whole round cake lying at the center of table. Only four people will make a cut and take their piece and the last one will get the remaining piece on the table.

How can they make sure that everyone gets a 1/5th of piece?

1 comment:

  1. rather than the typical vertical slices that end up looking like a pie chart, slice horizontally, taking cross-sections of the cake from top to bottom.

    ReplyDelete