摘要:
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 an... 阅读全文
posted @ 2015-07-09 21:42
Maydow
阅读(118)
评论(0)
推荐(0)
摘要:
Given two sorted integer arraysnums1andnums2, mergenums2intonums1as one sorted array.Note:You may assume thatnums1has enough space (size that is great... 阅读全文
posted @ 2015-07-09 21:11
Maydow
阅读(131)
评论(0)
推荐(0)
摘要:
public ListNode deleteDuplicates(ListNode head) { if(head==null || head.next==null) return head; ListNode pre=head;; ... 阅读全文
posted @ 2015-07-09 20:21
Maydow
阅读(116)
评论(0)
推荐(0)
摘要:
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb... 阅读全文
posted @ 2015-07-09 19:20
Maydow
阅读(146)
评论(0)
推荐(0)

浙公网安备 33010602011771号