Scotiabank interview question

Basic questions