正在加载……
← 返回 amazon 的题目列表
Binary Tree Right-Side View Using DFS
类型:online_judge
amazon Given a binary tree, design an algorithm to output its right-side view. Utilize Depth First Search (DFS) to complete the task. Example Input [1, null, 3, 2]