Wells Fargo interview question

Trees, Array, parking lot solution