Uber logoUber
Coding·45 minMembers

Onsite Coding: K Closest Points

Members only

The base prompt is LC 973: return the K points closest to the origin, with K much smaller than N. The round asks for both a bounded max-heap solution and a written quickselect partition, then extends ...

SWE
array
heap
quickselect
medium
Frequency
Single report
Last asked
2026-08-16
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...