SpaceX interview question

Study Trees, arrays, dp, class and objects