Soliton Technologies Interview Question

Desing Round , Only c allowed