Sponsored
Use these hints if you're stuck. Try solving on your own first.
Simulate the process.
Return to refill the container once you meet a plant that needs more water than you have.
Solve with full IDE support and test cases