Geometry puzzle: string cutting game
This is a great problem I came across, and I’d love to see it used as a consulting or technical interview question.
Here is the setup.
An interviewer gives you a string that measures 4 meters in length. The string is to be cut into two pieces. One piece is made into the shape of a square, and the other into a circle. (picture of this below)
Your job is to make the total enclosed area as large as possible.
The interviewer hands you a piece of paper and a pencil so you can do the math (you only get one chance to cut the string so you want to be sure your first attempt is correct).
How should you cut the string?
If you are able to figure out the answer, the interviewer has a couple follow-up questions to test your skills.
–How should you cut the string if you want to minimize the enclosed area?
–Imagine the string is cut randomly. What is the average value of the enclosed area? (When you cut the string, there is one piece to the left of the cut and another to the right. Suppose the left piece is always made into a circle and the right into a square)
Can you figure it out?
As usual, I will post an answer on Wednesday.
If you are an RSS reader or get my articles by email, then you will see a link to the solution in the Wednesday article.
Give it a try and leave a comment if you solved the puzzle (though please don’t spoil the answers for others).

Share this post:
Previous post: I know how much money you are carrying – why the math trick works
Next post: A fun number elimination game: who will win?



