ZS Associates interview question

Nothing was unexpected as such