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.
But you may need to cast many spells, so this is misleading. The description should mention that all the spells need to be casted.
Description should be language-agnostic
No sample tests in JS
Node 18. (
mocha + chai
) should be enabledCS test setup is flawed
The description should be language agnostic
JS:
No random tests
mocha
+chai
should be usedCS:
No random tests
mocha
+chai
should be usedPython: Random tests are vulnerable to input modification
Not every vocabulary word is tested in JS --> solution as proof
please add this example to explain this line 'The glass representation may be larger or smaller. If a liquid doesn't fill a row, it floats to the top and to the left.'
{ {
{ 'H', 'H', 'W', 'O' }, { 'O','O','O','W' },
{ 'W', 'W', 'W', 'W' }, => { 'W','W','W','W' },
{ 'H', 'H', 'O', 'O' } { 'H','H','H','H' }
} }
it can be understood as
{ {
{ 'H', 'H', 'W', 'O' }, { 'O','O','O', '' },
{ 'W', '', '', '' },
{ 'W', 'W', 'W', 'W' }, => { 'W','W','W','W' },
{ 'H', 'H', 'O', 'O' } { 'H','H','H','H' }
} }
or
{ {
{ 'H', 'H', 'W', 'O' }, { 'W','O','O','O' },
{ 'W', 'W', 'W', 'W' }, => { 'W','W','W','W' },
{ 'H', 'H', 'O', 'O' } { 'H','H','H','H' }
} }
Why too many format codes should throw an error but
%f
without a number should print%f
?Java translation
p1 = [ 7, 7 ]
p2 = [ 6, 8 ]
why do the tests assert that the winner is the first? I think both will die.
Fun little kata! In the Python translation, both the written description:
"... Write a function, learnWord ..." and the example code blocks:
vicky.learnWord('hello') -> 'Thank you for teaching me hello'
refer to the function in camelCase while the Python translation actually wants snake_case (the example tests should make this obvious, so it's not a huge problem, but it's an easy fix - you can use the conditional formatting here so different languages see the correct expected output: https://docs.codewars.com/references/markdown/extensions/ )
Loading more items...