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-03-30 15:21 Step-BY-Step 阅读(158) 评论(0) 推荐(0) 编辑