标签:div poi col solution class key close def lam
class Solution: def kClosest(self, points, K: int) : points.sort(key=lambda P:P[0]**2+P[1]**2) return points[:K]
别人的想法。
——2019.10.7
标签:div poi col solution class key close def lam
原文地址:https://www.cnblogs.com/taoyuxin/p/11629860.html