RBC Interview Question

Straight forward questions