iCIMS interview question

onsite problem is not easy to solve.