Interview question: Given a matrix, print its elements in spiral order. My timed implementation in ~30 minutes.