While those are some snazzy puzzles, I imagine that they are not at all along the lines of the work that anyone hired by Facebook will actually be doing... They are more like brain teasers to see how motivated you are and to see if you can solve odd problems like that.