6 kyu
Permutation position
138 of 219matt c
Description:
#Permutation position
In this kata you will have to permutate through a string of lowercase letters, each permutation will start at a
and you must calculate how many iterations it takes to reach the current permutation.
##examples
input: 'a'
result: 1
input: 'c'
result: 3
input: 'z'
result: 26
input: 'foo'
result: 3759
input: 'aba'
result: 27
input: 'abb'
result: 28
Fundamentals
Similar Kata:
Stats:
Created | Jun 16, 2016 |
Published | Jun 16, 2016 |
Warriors Trained | 867 |
Total Skips | 60 |
Total Code Submissions | 748 |
Total Times Completed | 219 |
JavaScript Completions | 78 |
Python Completions | 138 |
Haskell Completions | 19 |
Total Stars | 15 |
% of votes with a positive feedback rating | 87% of 72 |
Total "Very Satisfied" Votes | 56 |
Total "Somewhat Satisfied" Votes | 13 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 8 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |