One line JAVA solution! || 100% FASTER || EASY
\nclass Solution {\n    public int poorPigs(int buckets, int poisonTime, int totalTime) {\n        double ans ;\n        ans = Math.ceil(Math.log(buckets) / Mat
```\nclass Solution {\n    public int poorPigs(int buckets, int poisonTime, int totalTime) {\n        double ans ;\n        ans = Math.ceil(Math.log(buckets) / Math.log(totalTime / poisonTime + 1));\n        return (int)ans;\n    }\n}\n```\n\n**Please do upvote :)**
['Java']