2015年4月14日

160. Intersection of Two Linked Lists

摘要: Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: a... 阅读全文

posted @ 2015-04-14 11:25 shini 阅读(102) 评论(0) 推荐(0) 编辑

162. Find Peak Element

摘要: A peak element is an element that is greater than its neighbors.Given an input array wherenum[i] ≠ num[i+1], find a peak element and return its index.... 阅读全文

posted @ 2015-04-14 11:09 shini 阅读(107) 评论(0) 推荐(0) 编辑

导航