2016年7月23日

Maximum Gap

摘要: Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear time/space. Return 阅读全文

posted @ 2016-07-23 20:00 Sheryl Wang 阅读(143) 评论(0) 推荐(0) 编辑

Continuous Subarray Sum II

摘要: Given an circular integer array (the next element of the last element is the first element), find a continuous subarray in it, where the sum of number 阅读全文

posted @ 2016-07-23 16:34 Sheryl Wang 阅读(396) 评论(0) 推荐(0) 编辑

导航