You can try to leak the details, cheat, collaborate -- but the folks at Facebook are wise to all of that. They've done this before. Two substantially similar correct answers will get both knocked out and the perpetrators permanently banned. If you're smart enough to come up with a good solution, you're smart enough to keep it to yourself, eh?
My favorite sample test: Small World. In it, you have to write a program that reads location data (latitude and longitude) for a large number of points. Your program must output the three nearest points to every input point. Sound easy? It isn't because the program must be able to handle an arbitrarily large number of points -- and it must have asymptotic time growth that is less than quadratic in the number of points.
And you thought you had Knuth Volume III memorized.
Facebook has (you guessed it) a Facebook page for folks enthralled by their unique testing technique. On it you can find references to old puzzles, some tantalizing hints about how to take the tests, and even an occasional announcement about new puzzles. If you want to test your mettle against classic Facebook puzzles, try the Puzzle Archive Facebook page.
Ready for the real thing? Facebook estimates the tests will take one to two hours. There's no going back: Once you're in, you're in.
This story, "Ace this test and get a job interview with Facebook," was originally published at InfoWorld.com. Get the first word on what the important tech news really means with the InfoWorld Tech Watch blog. For the latest developments in business technology news, follow InfoWorld.com on Twitter.