Skip to main content
8 of 9
deleted 41 characters in body

Simple cake cutting puzzle

I got interested in a cake cutting problem from computational perspective. Suppose we have a piece of cake and we want to slice it into pieces using several cuts (straight lines). Each cut represents a chord on a circle. Integer multiplication is a special case were the cuts are dividable into two parallel sets $M$ and $N$ such that the number of cake pieces equals to $|M|*|N|$.

A parallel pair is a set of two cuts that do no cross each other. Crossings (intersection points) of cuts are NOT allowed on the circle boundary. All intersection points are inside the circle. So, two cuts must cross inside the circle. Finally, any crossing point is the result of the intersection of exactly two cuts (lines).

Joseph's answer provides an efficient algorithm to find the maximum number of pieces. The complexity of the following problem remains open:

Given integer $K$, Is there an efficient algorithm to decide the existence of a set of non-parallel cuts that result in $K$ pieces of cake (no pair of cuts is parallel) or is it NP-complete?