Random commentary about C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
Thursday, August 19, 2010
Puzzle: Slicing a pizza in 3 parts
This is a nice puzzle when you are with your friends and you eat a pizza. There are two guys and a pizza. How can you cut the pizza so that everyone is happy about the slice received? This is pretty easy for 2 guys, but how about 3 guys and , more generally, n guys?