Roblox logoRoblox
CodingMembers

Minimum Height Difference Between Distant Peaks

Members only

Select two sufficiently distant peaks with minimum height difference, using sorting or indexed scanning to satisfy the distance constraint.

SWE
array
sorting
two-pointer
medium
Frequency
Single report
Last asked
2025-12-09
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...