Facebook Puzzle Solutions

Facebook, as a part of their recruitment process for engineers, provides a selection of software engineering puzzles for people to attempt. The puzzles are available to anyone who is either interested in working for Facebook, or just enjoys programming puzzles. Here, you can find my attempts at solving these puzzles.

To view a list of all of the Facebook Puzzles, you can go to the Engineering Puzzles page on Facebook.

Do not look at these solutions if you are planning to create your own submissions. It defeats the point to look at these answers if you are going to create your own submission, so I’d urge you try your own solution before looking at mine.

Liar, Liar

My solution to the first of the Facebook Puzzles, "Liar, Liar".