On paper Mathematically proved one line solution | Java
\n\n\nPlease upvote if you like the solution. Pardon me for the handwriting, poor grammar, cuttings, spelling mistakes and syntactical errors. Please find the c
![image](https://assets.leetcode.com/users/images/22968318-409c-4fc0-a6f8-ba68dd30ceb7_1605623349.2260263.png)\n![image](https://assets.leetcode.com/users/images/aea2562e-31bb-4878-a8e5-5d1a842c7821_1605623366.66847.png)\n\nPlease upvote if you like the solution. Pardon me for the handwriting, poor grammar, cuttings, spelling mistakes and syntactical errors. Please find the code below.\n```\nclass Solution {\n    public int poorPigs(int buckets, int minutesToDie, int minutesToTest) {\n        return (int)Math.ceil(Math.log(buckets) / Math.log((minutesToTest / minutesToDie) + 1));\n    }\n}\n```
[]