Tech Mahindra interview question

Write a part of code from your project