You are given two integers numBottles and numExchange.
numBottles represents the number of full water bottles that you initially have. In one operation, you can perform one of the following operations:
Drink any number of full water bottles turning them into empty bottles.
Exchange numExchange empty bottles with one full water bottle. Then, increase numExchange by one.
Note that you cannot exchange multiple batches of empty bottles for the same value of numExchange. For example, if numBottles == 3 and numExchange == 1, you cannot exchange 3 empty water bottles for 3 full bottles.
Return themaximum number of water bottles you can drink.

Input: numBottles =13, numExchange =6Output: 15Explanation: The table above shows the number of full water bottles, empty water bottles, the value of numExchange, and the number of bottles drunk.

Input: numBottles =10, numExchange =3Output: 13Explanation: The table above shows the number of full water bottles, empty water bottles, the value of numExchange, and the number of bottles drunk.
Simulate the process: drink all full bottles, collect empty bottles, and exchange when possible. After each exchange, the number of empty bottles required increases by 1. Repeat until no more exchanges are possible.
Track the number of full and empty bottles. While you have enough empty bottles to exchange, perform the exchange, increment the total drunk, and update the exchange requirement. Stop when you can’t exchange anymore.