IGT Interview Question

2. Technique problem regarding programming