摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or 阅读全文
posted @ 2017-10-16 17:44 im.lhc 阅读(162) 评论(0) 推荐(0)
摘要: Given an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the 阅读全文
posted @ 2017-10-16 17:03 im.lhc 阅读(134) 评论(0) 推荐(0)