2016年6月7日

摘要: 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 one, return 阅读全文
posted @ 2016-06-07 15:10 烁宝宝 阅读(146) 评论(0) 推荐(0)
 
摘要: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For exam 阅读全文
posted @ 2016-06-07 09:53 烁宝宝 阅读(101) 评论(0) 推荐(0)
 
摘要: Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integers, +, -, *, / operators a 阅读全文
posted @ 2016-06-07 09:36 烁宝宝 阅读(111) 评论(0) 推荐(0)