KPIT Technologies interview question

ok-ish no interview so no issues