← Questions

Threshold-based database partition rebalancer

0
AmazonCodingLast asked Jul 2026

Write a rebalancer for database partitions spread across nodes: when a node's load goes over a threshold, move partitions off it onto other nodes. Explain which partitions you move and where.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding