KBC interview question

scenario case