摘要:
题目 A peak element is an element that is strictly greater than its neighbors. Given an integer array nums, find a peak element, and return its index. I 阅读全文
摘要:
题目 Suppose an array of length n sorted in ascending order is rotated between 1 and n times. For example, the array nums = [0,1,2,4,5,6,7] might become 阅读全文