Maximum Number of Robots Within Budget
Slide a window while a monotonic deque tracks the largest charge time and the running total stays within budget.
Slide a window while a monotonic deque tracks the largest charge time and the running total stays within budget.