LeetCode 100 Same Tree 题解
1.题目:
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
题意:
判断两个数是否相等
2.解题思路:
TUT。。看代码
3.代码
1 |
|