IAP Company interview question

technical question