Wells Fargo interview question

DSA questions on string handling