正在加载……
← 返回 capitalone 的题目列表
Print Paths in Binary Tree
类型:online_judge
Given a binary tree, use DFS to print all root-to-leaf paths. Each path should be output as a string with node values separated by "->". Example Input (1,2(,5),3)