摘要: We have a list of points on the plane. Find the K closest points to the origin (0, 0). (Here, the distance between two points on a plane is the Euclid 阅读全文
posted @ 2019-01-31 22:50 Veritas_des_Liberty 阅读(445) 评论(0) 推荐(0)
摘要: For some fixed N, an array A is beautiful if it is a permutation of the integers 1, 2, ..., N, such that: For every i < j, there is no k with i < k < 阅读全文
posted @ 2019-01-31 22:37 Veritas_des_Liberty 阅读(256) 评论(0) 推荐(0)