← All problemsSign in

3733. Minimum Time to Complete All Deliveries

LeetCodeMathBinary SearchOpen on judge ↗

You are given two integer arrays of size 2: d = [d1, d2] and r = [r1, r2]. Two delivery drones are tasked with completing a specific number of deliveries. Drone i must complete di deliveries. Each delivery takes exactly one hour and only one drone can make a delivery at any given hour. Additionally, both drones require recharging at specific intervals during which they cannot make deliveries. D

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start