Wells Fargo interview question

Math, Programming, Behaviour