- 浏览: 2111 次
- 性别:
- 来自: cs
-
最近访客 更多访客>>
文章列表
//输入参数为广度优先算法遍历的二叉树字符串LIST,每个节点对应子节点数LIST。
//
public static TreeNode<String> rebuildFromBFSList(List<String> bfsData, List<Integer> childCounts)
{
// TODO: your code for part (b)
return null;
}
bfsData A B C D E F G
childCounts 6 4 0 0 2 0 0
// ...