They studied math, so it was probably for a quantitative finance job where I've seen (quite a few!) other people talk about similar interviews. Stuff like computing standard deviation confidence intervals or deciding which of two strategies are higher expected value with only mental math and a few seconds of thought.