X Interview Question

First question was standard. Second question was easy.