c++|| 1line easiest solution || 0ms
class Solution {\npublic:\n\nint poorPigs(int buckets, int m1,int m2) {\n    return ceil(log(buckets) / log(m2 / m1 + 1));\n}\n};
class Solution {\npublic:\n\nint poorPigs(int buckets, int m1,int m2) {\n    return ceil(log(buckets) / log(m2 / m1 + 1));\n}\n};
[]