For example, chance is 100% for minimum 0 heads when a coin is tossed 7 times. Chance is 50% for minimum 2 heads when a coin is tossed 3 times. Chance is 0% for minimum 12 heads when a coin is tossed 11 times.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers54
Suggested Problems
-
Find state names that end with the letter A
1198 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3068 Solvers
-
286 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Simple date to serial no. conversion
134 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
this problem could use some nontrivial testcases