Retired
So Basic - iteration II (retired)
26dvjc
Description:
Summary: In this kata we want to help an alien retailer.
Scenario: You work for the IRS and have been sent the 1040 form for a local retailer. In your spare time you discover the retailer is native to Beta Centauri and have a base 62 numbering system - which explains the problems you were having correcting his Adjusted Gross Income (AGI).
Task:
Generate a convertBase62ToDecimal
method that converts a base-62 value into its decimal equivalent.
Scope:
- Presume all digits, upper-case, and lower-case letters are valid.
- Digits are 0-9, then A-Z, then a-z
Examples:
- A (base 62) = 10 (base 10)
- a (base 62) = 36 (base 10)
- 1c (base 62) = 100 (base 10)
- 100 (base 62) = 3844 (base 10)
Note: Input can be either a string or a number.
Fundamentals
Similar Kata:
Stats:
Created | Nov 20, 2015 |
Warriors Trained | 65 |
Total Skips | 13 |
Total Code Submissions | 121 |
Total Times Completed | 26 |
JavaScript Completions | 26 |
Total Stars | 1 |
% of votes with a positive feedback rating | 58% of 12 |
Total "Very Satisfied" Votes | 7 |
Total "Somewhat Satisfied" Votes | 0 |
Total "Not Satisfied" Votes | 5 |
Total Rank Assessments | 12 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |