Problem 3006. Test Driven Solution - Probability Problem 2
Problem: Without any Cody cheats, write code that passes the test suite.
Hint: The test suite gets samples from the probability distribution represented by your code. A cumulative distribution function is then built from the samples. This is the empirical distribution, which is compared against the theoretical distribution you must infer from the test suite.
See also: Cumulative Distribution Function
Problems in Series: Probability Problem 1, Probability Problem 3
Solution Stats
Problem Comments
Solution Comments
Show commentsGroup

Rubik's Cube
- 11 Problems
- 1 Finishers
- Perform Rubik's Cube Moves
- Solve Rubik's Cube - One Rotation
- Solve Rubik's Cube - Up to Two Face Moves
- Rubik's Cube : Solve Ten Face Move - Speed Scoring
- Rubik's Cube: Solve Randomized Cube - Score : Moves
- Rubik's Mini-Cube: Solve Randomized Mini-Cube - Score : Moves
- Rubik's Mini Cube: Solve Randomized Cube in 11 Moves or Less; Score is by Time (msec)
- Rubik's Cube: 30 Moves or Less : Minimum Moves
- Rubik's Cube: 30 Moves or Less: Minimum Avg Time
- Rubik's Cube: 30 Moves or Less : Cody Size
- Rubik's Cube: 30 Moves or Less : Contest Scoring (Time/Size/Moves)
Problem Recent Solvers13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!