LeetCode
Discussion
·
Mar 2022
[Meta/FB] K Closest Points to Origin: an O(N) avg. time/O(1) space solution
25 upvotes
3,928 views
11 replies
Discussion
K Closest Points to Origin is a common question for Meta onsites. I\'ve seen it a few times in the IQ discussion section recently, and the solution that they expect...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Heap
Probability Stats
Sorting
Sql
More from Meta
Reddit
Leetcode is cooked in 2026 and we don't hire people who only grind leetcode.
Reddit
Returning to SWE work after 3 years of cancer treatment
Reddit
2026 New Grad Recap
Reddit
Most likely failed meta phone screen
Reddit
Targeting OpenAI SWE Roles? Insights on what to expect from recent system design loops