KPIT Technologies interview question

Technical round was pretty cool however asked to write down code snippets