Skip to content

Commit d14afa8

Browse files
authored
Create README.md
1 parent 675ad63 commit d14afa8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

<7 kyu> Character Count/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<h2><a href="https://www.codewars.com/kata/56786a687e9a88d1cf00005d">Character Count</a></h2>
2+
<pre>
3+
You are going to be given a word. Your job will be to make sure that each character in that word has the exact same number of
4+
occurrences. You will return <b>true</b> if it is valid, or <b>false</b> if it is not.
5+
&nbsp
6+
For this kata, capitals are considered the same as lowercase letters. Therefore: "A" == "a"
7+
8+
The input is a string (with no spaces) containing [a-z],[A-Z],[0-9] and common symbols. The length will be 0 < length < 100.</pre>
9+
10+
<h2>Examples:</h2>
11+
<pre>"abcabc" is a valid word because "a" appears twice, "b" appears twice, and"c" appears twice.
12+
"abcabcd" is NOT a valid word because "a" appears twice, "b" appears twice, "c" appears twice, but "d" only appears once!
13+
"123abc!" is a valid word because all of the characters only appear once in the word.</pre>

0 commit comments

Comments
 (0)