I was recently chatting with friends and the question came up:
When hiring a programmer, FizzBuzz is sometimes
(and controversially) used as an initial filter.
What's an equivalent filter for mathematicians?
I know that HN is filled with people who have specializations outside of programming, so I ask:
What is your specialization, and
what is your "FizzBuzz" equivalent?
Added in edit: Fascinating answers - thank you. I'd love to respond to many of them but that would probably trip the HN flame-war detector, penalise the item, and I'd get no more replies! If you want a reply, email me, or make sure your email is in your profile. And thanks again to all.
This works surprisingly well as a negative hiring filter. It's not intended to be a trick question at all: it can be solved with Ohm's Law:
or faster and more intuitively using voltage dividers: What's disappointing is that a large number of senior undergraduate students are unable to solve this problem -- which I think makes it a good EE equivalent of the FizzBuzz problem.