DoorDash interview question

Practice trees and 2D arrays