Maximum Secure Deliveries
Amazon interview questions · Medium · OA round · 6 tests
Split delivery logs across exactly k warehouses so the bottom half remains as large as possible after the largest k/2 warehouses are compromised.
The full question, tests and reference solution are available with a plan that includes Amazon.
Run your code with Ctrl+Enter to see results.