vSplash Techlabs Interview Question

Not difficult