Leetcode 365 - Water and Jug Problem
Prompt: This is the Dead End problem in the movies. You are given two jugs, each with different capacity, an infinity source of water, and a target capacity. The goal is to determine if you can measure the target capacity using the two jugs. You are allowed to fill each...
[Read More]