7 kyu
Hex Hash Sum
140 of 2,174Hoff Starr
Description:
Complete the function that accepts a valid string and returns an integer.
Wait, that would be too easy! Every character of the string should be converted to the hex value of its ascii code, then the result should be the sum of the numbers in the hex strings (ignore letters).
Examples
"Yo" ==> "59 6f" ==> 5 + 9 + 6 = 20
"Hello, World!" ==> 91
"Forty4Three" ==> 113
Mathematics
Security
Fundamentals
Similar Kata:
Stats:
Created | Mar 22, 2018 |
Published | Mar 23, 2018 |
Warriors Trained | 3655 |
Total Skips | 50 |
Total Code Submissions | 6873 |
Total Times Completed | 2174 |
TypeScript Completions | 140 |
JavaScript Completions | 817 |
Python Completions | 1171 |
Ruby Completions | 109 |
Factor Completions | 9 |
C Completions | 29 |
Total Stars | 41 |
% of votes with a positive feedback rating | 93% of 404 |
Total "Very Satisfied" Votes | 353 |
Total "Somewhat Satisfied" Votes | 46 |
Total "Not Satisfied" Votes | 5 |
Total Rank Assessments | 18 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |