LeetCode Question · Feb 2025 · Washington DC

Amazon | SDE II | OA

4 upvotes 414 views 4 replies

Question Details

Given orders and shifts, return pending orders at the end of each shift. input: n=5, orderProcessingTime=[2,4,5,1,1], m=5, shiftDuration=[1,5,1,5,2] output: [5,3,3,1,0] if an order is not fully processed by the end of a shift,...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Two Pointers