TD interview question

The case interview was unexpected!