Tech Mahindra interview question

How do you implement the concepts in realtime