RBC interview question

did not get through to interview