DataArt interview question

Everything was clear and expected