WhatnotCodingMembers
Select the K Nearest Points to the Origin
Members only
A selection problem on coordinate data that rewards picking a data structure sized to the answer instead of the whole input. Interviewers usually follow up on alternative approaches, streaming input, and how the choice shifts as k grows.
SWE
medium
array
heap
sorting
top-k
math
Frequency
Single report
Last asked
—
Stage
phone-screen · onsite-coding
Members get
- Full problem statement
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 2 common pitfalls
- 6 talking points
- 5 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
