[Python 3] Solution Explained (video + code)
\nhttps://www.youtube.com/watch?v=_JcO3fqoG2M\n\nclass Solution:\n    def poorPigs(self, buckets: int, minutesToDie: int, minutesToTest: int) -> int:\n        p
[](https://www.youtube.com/watch?v=_JcO3fqoG2M)\nhttps://www.youtube.com/watch?v=_JcO3fqoG2M\n```\nclass Solution:\n    def poorPigs(self, buckets: int, minutesToDie: int, minutesToTest: int) -> int:\n        pigs = 0\n        \n        while (minutesToTest / minutesToDie + 1) ** pigs < buckets:\n            pigs += 1\n            \n        return pigs\n```
['Python3']