Persistent Systems interview question

Taken coding interview first round. Then HR told they will schedule that