AmazonCoding·45 minMembers
Closest Version Date
Members only
Given a target version date and a list of released version dates, return the version whose date is closest to the target. The example target `2026-04-01` with versions `2023-04-01`, `2025-04-01`, and ...
SWE
array
binary-search
sorting
medium
Frequency
Single report
Last asked
2026-07-02
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
