LeetCode-Solutions
LeetCode-Solutions copied to clipboard
Problem Number | Title | Language
class Solution { public: int poorPigs(int buckets, int minutesToDie, int minutesToTest) { return ceil(log(buckets) / log(minutesToTest / minutesToDie + 1)); } };
Solution for the leetcode hard problem -poor Pig
Solution for the leetcode hard problem -poor Pig
Hi! There is a guideline for submitting solutions. Please go through it and make PRs accordingly.