Demonware Interview Question

LC Easy and medium question One debugging code