Wells Fargo Interview Question

Tech questions. I wrote some queries