I went to this programming job interview and I had to do one of those programming test questions that development companies love doing so much.
There were 3 papers, each had a programming question. As I was doing the second paper, some guy came in without introducing himself and asked if I'd finished. I said I'd finished the first paper and he took the paper; he said that there's nothing wrong with my answer, but he said that he wanted the algorithm to be in one line instead of multiple lines.
Well, the thing is, the test question didn't even ask for an optimised solution (i.e. the one line algorithm); it was just creating a program to do X, Y and Z.
I wasn't able to make my algorithm into just a single line algorithm since I was pressing for time (and I already had invested the time to create the current algorithm) and I needed to finish the other questions. The final question was about a sorting algorithm. Since I haven't done sorting for years, I couldn't really create the algorithm properly, but I was able to finish the whole questions.
The guy came in again and looked at my paper. He said that I didn't get what he wanted (which was the single line algorithm, the one that was never asked on paper in the first place). He also asked me about the algorithm that I wrote.
I got a First for my computing degree, and he subtly said that even First class degree holders sometimes can't answer the questions the company gave them (which I think was a subtle hint of his criticism towards me : /). As he was saying this, he was rolling my degree transcripts and my answer sheets (like a scroll) in front of me : /
At the end, after we finished with the interview, he said the interview was done and walked away without shaking my hand or even saying thank you or anything.
Awkward? Did I even deserve this? I would think it wasn't even professional : /