摘要: Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ... 阅读全文
posted @ 2015-09-12 05:13 amazingzoe 阅读(104) 评论(0) 推荐(0)
摘要: Given an integer array of sizen, find all elements that appear more than⌊ n/3 ⌋times. The algorithm should run in linear time and in O(1) space.Analys... 阅读全文
posted @ 2015-09-12 02:45 amazingzoe 阅读(131) 评论(0) 推荐(0)