Genpact interview question

OPPS Concepts, 2 Coding questions