Publicis Sapient Interview Question

puzzle regarding timings