Genpact interview question

everything except 1 question on angualr