7 kyu
Most Likely
1,817 of 1,855philb56
Description:
Create a function which compares two probabilities, returning true if the first one is most likely otherwise false.
For this exercise probability is expressed as two numbers separated by a colon e.g. a probability of 1 in 3 will be 1:3
.
So:
Input: ('1:3','1:2') - returns false as 1 in 3 is less likely than 1 in 2.
Probability
Fundamentals
Similar Kata:
Stats:
Created | Dec 6, 2015 |
Published | Dec 6, 2015 |
Warriors Trained | 3186 |
Total Skips | 101 |
Total Code Submissions | 9037 |
Total Times Completed | 1855 |
JavaScript Completions | 1817 |
CoffeeScript Completions | 13 |
C Completions | 45 |
Total Stars | 31 |
% of votes with a positive feedback rating | 92% of 262 |
Total "Very Satisfied" Votes | 225 |
Total "Somewhat Satisfied" Votes | 33 |
Total "Not Satisfied" Votes | 4 |
Total Rank Assessments | 27 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 1 kyu |
Lowest Assessed Rank | 8 kyu |