Wells Fargo interview question

Some questions on threads