✅Short || C++ || Java || PYTHON || Explained Solution✔️ || Beginner Friendly ||🔥 🔥 BY MR CODER
Please UPVOTE if you LIKE!!\nWatch this video \uD83E\uDC83 for the better explanation of the code.\n\nhttps://www.youtube.com/watch?v=ckBqsSyKf-k&t=146s\n\n\nAl
**Please UPVOTE if you LIKE!!**\n**Watch this video \uD83E\uDC83 for the better explanation of the code.**\n\nhttps://www.youtube.com/watch?v=ckBqsSyKf-k&t=146s\n\n\n**Also you can SUBSCRIBE  \uD83E\uDC81 \uD83E\uDC81 \uD83E\uDC81 this channel for the daily leetcode challange solution.**\n**C++**\n```\nclass Solution {\npublic:\n\nint poorPigs(int buckets, int poisonTime, int totalTime) {\n    return ceil(log(buckets) / log(totalTime / poisonTime + 1));\n}\n};\n```\n**Please do UPVOTE to motivate me to solve more daily challenges like this !!**
['C', 'C++']