Genpact Interview Question

over all it was average