Apple logoApple
CodingMembers

Top K Closest Pairs in a Sorted Array

Members only

Apple onsite coding prompt about ranking pairwise gaps in sorted data. It looks compact but leaves meaningful contract questions around reuse, ties, and output order, making clarification and complexity discussion part of the signal; the full card preserves the concrete sample.

SWE
array
top-k
sorting
medium
Frequency
Single report
Last asked
2026-08-05
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...