Icertis interview question

OOPS, Problem Solving,