https://github.com/Sunchit/Coding-Decoded/blob/master/August2022/Java/PoorPigs.java
The one liner ans in java seems to give wrong answer for following case:
Buckets = 125
minutesToDie = 1
minutesToTest = 4
expected o/p = 3
o/p = 4
Could someone explain why so?