Genpact Interview Question

OPPS Concepts, 2 Coding questions