Publicis Sapient Interview Question

nothing much difficult basic programming question