原文:[LeetCode] N-ary Tree Preorder Traversal N叉树的前序遍历

Given an n ary tree, return thepreordertraversal of its nodes values. For example, given a arytree: Return its preorder traversal as: , , , , , . Note: Recursive solution is trivial, could you do it ...

2018-10-31 10:48 1 1832 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM