Scotiabank Interview Question

Provide how you problem solve with an example