Arrrgh I remember an interview where I got this lucky... and I ended up failing it miserably. It was a python-heavy position, and I had been watching some Peter Norvig videos in the weeks beforehand to prepare. They asked me to implement some basic functionality of a poker game, which was EXACTLY what one of the videos was about. I was trying so hard not to copy his approach, and my own 'natural' approach would have been fairly similar (but not nearly as elegant), so by trying to avoid both of those approaches I made a complete mess, haha