Amazon logoAmazon
CodingMembers

Minimum Redistribution Cost on a Ring

Members only

OA algorithm problem: warehouses on a circle hold differing product counts. Moving a product across one edge costs 1, and all moves must go in a single fixed direction. Equalize every position at mini...

SWE
MLE
prefix-sum
greedy
array
math
medium
Frequency
Low
Last asked
2026-06-09
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...