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.
Why only 1 random test case? Please add more test cases.
Ok i see moust of the votes go for 6 kuy. I will change the expected rank to 6 kyu.
i think its 6 kyu
Thank you i fixed the non-integral inputs and the function is now in camelCase standart.
It has a section for the specific languages, but i just realized it's not working. It is just showing them all.
I changed the names of the sections to java , python and javascript
And it is now working for Java and Python, but when JavaScript is selected it shows Java too.
How can I fix that ?
I will probably remove that restriction (x+y<=27) and say that the matrix builds only with the alphabet chars.
Because it's more like a note to tell people there is no need to check just start from 'a' and go on to 'z'. Just like you did in your solution.
It passes non-integral numbers as inputs, it doesn't implement the specs (
x+y<=27
), the description is still bad, the examples aren't language-specific, the initial code has a spelling error in the funtcion name, said function name doesn't adhere to camelCase standard, the example tests are too limited to catch solutions that switchx
andy
, the output datatype should be a 2D array of strings instead of a string.All in all, not too good. Neither the kata itself nor the translation. Consider focusing on solving two month old issues instead of creating new translations.
JavaScript translation added. Any feedback is welcome.
Changed the random cases. This is the problem with random rows and columns generation. It should be fixed now. Please verify it.
Should be clear from this message:
ord('\x81') - ord('a') = 32
(wherea
was mapped to0
)This requirement is not satisfied in python.
Approved. Thank you for the translation.
Please review the random test cases. of my translation.
Python Translation created.
You are right. Im fixing that.
Formatting added.
Hope it looks better now.
Thank you for your advices.
Row 0 -> "a", row 1 -> "b", row 2 -> "c" ... row 26 -> "z"
Here row 0 is "a" means "z" should be row 25 as you started with 0.
Also you should format the example above
MatrixPalindromes.createMatrix(3,3)
Should return a string representation of the matrix : "[[aaa, aba, aca], [bbb, bcb, bdb], [ccc, cdc, cec]]".
To somewhat like
because without formatting it looks..... kind of Boring?
Loading more items...