Position: E5
339. Nested List Weight Sum
973. K Closest Points to Origin
For the second one, I used heapq in Python. It seems like interviewer has different opinoin about the O(n) Time Complexity.
Here is the approvement of O(n) to build a heapq Time Complexity of building a heap