Scotiabank interview question

technical questions