Wiley interview question

Nice question with nice answer