X interview question

Its was Hackrank coding challenge