Wells Fargo interview question

Basic DSA questions with some aptitude