Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Currently description states to test for positive numbers only. Too late to enforce such changes, also the addition of this requirement would make the kata 6kyu, not ideal, closing...
For this first Kata, you will write a function hamming_distance(a, b) with two equal-length strings containing only 0s and 1s as parameters.
added messages
Reraised as issue
Non issue without more elements. Please give a clear example of failed tests / bad code (+ obviously, language).
Language?
@Talrendis Haha, nice one xD
How would you approach this with ES6?
Of course ! Pong basis ;)
This comment is hidden because it contains spoiler information about the solution
I got it!
!
Yeah, this was super easy lol
@jacobb - thank you for helping improve the kata description. You also missed a spelling error.
The languages I completed (ruby, python) don't have tests with linebreaks, so it didn't make much sense :-) Anyway, if it was not done the last four years, I believe it will stay like this forever...
Loading more items...