X interview question

First question was standard. Second question was easy.