PayPal logoPayPal
CodingMembers

Closest Pairs in an Integer Array

Members only

A phone-style array problem about finding the closest numbers in a list and reporting every pair that ties.

SWE
easy
array
sorting
two-pointer
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 5 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...