RBC interview question

Same as the process above