TeKnowledge interview question

It was basically scenario based