Cut a rectangular cake with a missing rectangular piece into two equal halves
Filed under SAP
The question
Given a rectangular cake from which a smaller rectangular piece has already been removed, determine how to make a single straight cut that divides the remaining cake into two equal halves.
No write-up yet. Related questions below have one.
Related SAP questions
Collected from public candidate posts and coding forums. Updated Nov 2026.