Water bottle Problem (Leetcode POTD)
Problem Link
Click Here
Approach
We need to calculate the maximum number of full water bottles we can consume right so let's consider one test case
Total filled bottled = 15, Exchange Rate = 4
So initially we will consume 15 bottles now these bott...
ujjwalsharma.hashnode.dev1 min read