Qualitronics interview question

Problem handling