Fork me on GitHub
摘要: Given the running logs of n functions that are executed in a nonpreemptive single threaded CPU, find the exclusive time of these functions. Each funct 阅读全文
posted @ 2017-07-16 19:17 hellowOOOrld 阅读(335) 评论(0) 推荐(0)
摘要: Given an array consisting of n integers, find the contiguous subarray whose length is greater than or equal to k that has the maximum average value. A 阅读全文
posted @ 2017-07-16 13:50 hellowOOOrld 阅读(767) 评论(0) 推荐(0)
摘要: Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ? s. If there isn't 阅读全文
posted @ 2017-07-16 12:14 hellowOOOrld 阅读(215) 评论(0) 推荐(0)