摘要: An array of size n ≤ 10 6 is given to you. There is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each tim... 阅读全文
posted @ 2016-03-20 15:41 ZhMZ 阅读(232) 评论(0) 推荐(0)
摘要: Description Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars that are n... 阅读全文
posted @ 2016-03-20 15:06 ZhMZ 阅读(190) 评论(0) 推荐(0)