Infrrd interview question

They asked oops in detail