Convert the department list to preorder traversal of the name of department tree
示例1

输入

[["d1", "d0", "IT"], ["d2", "d0", "RD"], ["d0", "", "The Company"], ["d3", "d0", "HR"]]

输出

["The Company","HR","IT","RD"]

说明

On each level of the department tree, departments are listed in alphabetical order of the name
加载中...