I sometimes like to ask the following simple interview question:
Write a function that will give me the sum of the squares of the odd numbers between 1 and 50
I like watching people go through the process of solving this simple problem - I think it initiates good conversations. More often than not, I will end up looking at code that in some shape or form resembles this: