Genpact Interview Question

basic technical questio