Java Easiest Solution || 0Ms Runtime Faster Than 100% online submission || Beginner Approach
\nclass Solution {\n    public int poorPigs(int buckets, int tdie, int ttest) {\n        int test_val = ttest/tdie;\n        int count=0;\n        \n        whi
```\nclass Solution {\n    public int poorPigs(int buckets, int tdie, int ttest) {\n        int test_val = ttest/tdie;\n        int count=0;\n        \n        while( Math.pow(test_val+1,count) < buckets ){\n            count++;\n        }\n        \n        return count;\n    }\n}\n```
['Java']