The biggest WTF I got out of this was: Writing code and tests in a Google Doc. I can't think of a much less friendly environment to write code in, except perhaps Notepad. I did it once (for an intra-company interview), and it was nasty to deal with. The WTF in second place was a blind requirement to know the mechanics behind a somewhat niche game that was big two years ago.
To be fair, 2048 can be explained in a matter of minutes. The kind thing to do would be to demonstrate it. It's a different problem. I play a lot of 2048. It's on my watch, fun thing to do while stuck in line or whatever. I haven't the first clue how to write an algorithm to beat it. Here's how I'd do that: I'd get on the Googly-moogly and start reading up. Probably take me a couple days to get my bearings. In a 45 m…
The interviewer replied, "yeah, I tried it at home and thought it was pretty hard too."
Seems like a pretty dumb question to ask in an interview unless you expect the interviewee to flounder.