Amazon interview question

Related to binary trees and level was leetcode easy to medium