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.
Nice kata. Thanks author. It's funny for my that my solution has four nested loops))
Approved
python new test framework is required. updated in this fork
As a general rule, links to other sites that form a part of the problem specification should be avoided - you have no control over whether that content will continue to exist tomorrow, next week, or next year, etc. If it disappears, it will be difficult to see what the Kata is asking for. Less important, I personally find it frustrating to have to look up relevant content in another page - the description should contain everything needed to actually solve the problem.
Suggest copying the image into the Kata description, or giving a (more permanent) text description of the mapping.
I enjoyed this kata. However the description says nothing about ordering the output list (or possible duplicates in it). That's ok in Python since tests compare sets, but in JS the list has to be sorted alphabetically to be valid (and, I guess though I did not check it, mustn't include duplicates). This should be clearly stated in the description, and preferentially should the requirements of distinct languages be uniformized.
done
The function name should be in the snake_case in Python.
Please follow language conventions, e.g. for Python use
snake_case
(see PEP 8).Thanks for this update!
Hi,
For some reason I did not get see notifications the past month about recent activity on this kata.
Thanks for your observations, I've updated the description so the letter case and mapping exceptions are clear. You made a good point about the arbitrary mapping of 0 and 1. I will update it in the next version to be more useful to the puzzle, should probably also make sure the update does not invalidate existing solutions.
Thanks!
Firstly, you must precise that all letters will be in uppercase. The link you provide gives lowercase letters.
Secondly, the true problem is what to map to
0 and 1
keys: whitespace and nothing? Why mapping them to0 and 1
digits when you don't map any of the other keys to their corresponding digits (aka.23456789
)?Can you explicit what correct mapping is in the description please?
thanks )
Merged! Cool solution btw :)
Translated to Python http://www.codewars.com/kumite/56b3d848304c315538000024?sel=56b3d848304c315538000024
Awesome, they look great! :)
Loading more items...