Amazon logoAmazon
Coding·30 minMembers

Package Weight Rearrangement

Members only

Given package weights drawn only from 0 through 9, decide whether they can be rearranged so every adjacent pair sums to at most 9; one version phrases the boundary as strictly below 10. The interviewe...

SWE
array
greedy
bucket-sort
medium
Frequency
Low · New
Last asked
2026-08-24
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...