CIBC Interview Question

It was ok nothing so difficult