![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
小菜鸟_爱树蛙
这个作者很懒,什么都没留下…
展开
-
LeetCode--------Merge Two Sorted Lists
【题目】 Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.【答案】1.解法一:最麻烦的有两点:1)l1、l2理解成数据没有意义的头结点还原创 2015-01-07 15:51:45 · 455 阅读 · 0 评论 -
Same Tree
【题目】 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.原创 2015-01-02 21:12:58 · 453 阅读 · 0 评论