Yes (in JS).
There is a rule that N will always be > 0, but in tests I'm getting N = 0 (eg. N=0 X='w' Y='#'). Please, fix it.
You most likely tried to modify the input string. I added the const qualifier to the prototype
There does not seem to have a problem with the tests (anymore ?), closing
It's not an issue with the kata, questions should use the question tag
nice one, maybe enable other languages too? cheers!
Never always easy!
It says N > 0, but in tests there's a case with N = 0.
Nice kata! enjoyed the code golf bonus.
The length of X is always 1, which isn't documented (or what does "a key of X" even mean?).
This comment is hidden because it contains spoiler information about the solution
I have found two different solutions for this kata, one with for loops and one involving creating a dictionary that they work perfectly on pycharm but it does not work in here. What to do about it?
C#. Sample tests are broken, they require the answer to be with "\n" symbol, but you can complete kata without this symbol by just making simple loops...