Infosys interview question

How I managed the critical condition