I think there may be a probleme here: https://github.com/qiyuangong/leetcode/blob/a6f3b711afecd57ba6fdced8554af3f9f87cbaac/java/973_K_Closest_Points_to_Origin.java#L29 Please see this working solution: https://github.com/neetcode-gh/leetcode/blob/main/java/0973-k-closest-points-to-origin.java#L15 thanks
I think there may be a probleme here:
leetcode/java/973_K_Closest_Points_to_Origin.java
Line 29 in a6f3b71
Please see this working solution:
https://github.com/neetcode-gh/leetcode/blob/main/java/0973-k-closest-points-to-origin.java#L15
thanks