Amazon logoAmazon
Coding·25 minMembers

In-Flight Movie Pair (Two Sum Variant)

Members only

Recommend two movies whose runtimes sum exactly to the flight duration (12 hours). Standard two-sum with a hashmap.

SWE
array
hashmap
easy
Frequency
Single report
Last asked
2026-03-17
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...