6 kyu
The Deaf Rats of Hamelin
838 of 6,677dinglemouse
Description:

Story
The Pied Piper has been enlisted to play his magical tune and coax all the rats out of town.
But some of the rats are deaf and are going the wrong way!
Kata Task
How many deaf rats are there?
Legend
P
= The Pied PiperO~
= Rat going left~O
= Rat going right
Example
ex1
~O~O~O~O P
has 0 deaf ratsex2
P O~ O~ ~O O~
has 1 deaf ratex3
~O~O~O~OP~O~OO~
has 2 deaf rats
Series
Fundamentals
Strings
Algorithms
Queues
Data Structures
Similar Kata:
Stats:
Created | Aug 1, 2017 |
Published | Aug 2, 2017 |
Warriors Trained | 16019 |
Total Skips | 2837 |
Total Code Submissions | 38558 |
Total Times Completed | 6677 |
Java Completions | 838 |
Python Completions | 2469 |
JavaScript Completions | 1755 |
C# Completions | 453 |
Ruby Completions | 145 |
Haskell Completions | 90 |
C Completions | 235 |
C++ Completions | 519 |
Elixir Completions | 42 |
PHP Completions | 150 |
COBOL Completions | 4 |
Rust Completions | 72 |
Go Completions | 99 |
Factor Completions | 7 |
Total Stars | 391 |
% of votes with a positive feedback rating | 95% of 1202 |
Total "Very Satisfied" Votes | 1084 |
Total "Somewhat Satisfied" Votes | 109 |
Total "Not Satisfied" Votes | 9 |
Total Rank Assessments | 6 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 7 kyu |