摘要:
Problem: Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't on 阅读全文
posted @ 2017-01-02 13:29
SillyVicky
阅读(147)
评论(0)
推荐(0)
摘要:
Problem: A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], find a peak element and return 阅读全文
posted @ 2017-01-02 11:24
SillyVicky
阅读(124)
评论(0)
推荐(0)

浙公网安备 33010602011771号