摘要:
一、最大深度问题 描述: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to t 阅读全文
摘要:
描述: 前序遍历: Given a binary tree, return the preorder traversal of its nodes' values. 给出一棵二叉树,返回其节点值的前序遍历。 给出一棵二叉树,返回其节点值的前序遍历。 给出一棵二叉树,返回其节点值的前序遍历。 样例 给 阅读全文