Loading

摘要: 递归 一棵树要么是空树,要么有两个指针,每个指针指向一棵树。树是一种递归结构,很多树的问题可以使用递归来处理。 1. 树的高度 104. Maximum Depth of Binary Tree (Easy) Leetcode / 力扣 class Solution { public int max 阅读全文
posted @ 2020-11-13 10:57 kopoo 阅读(66) 评论(0) 推荐(0) 编辑