6 kyu
How much hex is the fish
487 of 1,080strassi
Description:
How much is the fish! (- Scooter )
The ocean is full of colorful fishes. We as programmers want to know the hexadecimal value of these fishes.
Task
Take all hexadecimal valid characters (a,b,c,d,e,f) of the given name and XOR them. Return the result as an integer.
Input
The input is always a string, which can contain spaces, upper and lower case letters but no digits.
Example
fisHex("redlionfish") -> e,d,f -> XOR -> 12
Strings
Fundamentals
Similar Kata:
Stats:
Created | Apr 18, 2016 |
Published | Apr 18, 2016 |
Warriors Trained | 2581 |
Total Skips | 718 |
Total Code Submissions | 6440 |
Total Times Completed | 1080 |
Python Completions | 487 |
JavaScript Completions | 409 |
Ruby Completions | 102 |
C# Completions | 139 |
CoffeeScript Completions | 7 |
Scala Completions | 9 |
Prolog Completions | 4 |
Total Stars | 41 |
% of votes with a positive feedback rating | 89% of 279 |
Total "Very Satisfied" Votes | 229 |
Total "Somewhat Satisfied" Votes | 37 |
Total "Not Satisfied" Votes | 13 |
Total Rank Assessments | 36 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |