leetcode python  100. 相同的树 88. 合并两个有序数组(未完成)

https://leetcode-cn.com/problems/same-tree/description/ 数据结构中树的简单操做,一开始想着用循环作,后来以为不行,就用递归写了。慢慢的开始理解了递归的思想。node # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): #
相关文章
相关标签/搜索