0365. Water and Jug Problem
Description
**Input:** jug1Capacity = 3, jug2Capacity = 5, targetCapacity = 4
**Output:** true
**Explanation:** The famous [Die Hard](https://www.youtube.com/watch?v=BVtQNK_ZUJg&ab_channel=notnek01) example **Input:** jug1Capacity = 2, jug2Capacity = 6, targetCapacity = 5
**Output:** false**Input:** jug1Capacity = 1, jug2Capacity = 2, targetCapacity = 3
**Output:** trueac
Last updated