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.
This kata is very simple but the description is clear enough. Only looking at test cases, one should write the code.
converting the x to a binary string using
const result = x.toString(2) ;
is not working in JS. The result is still remaining as x only.
This Kata is not clear in its explanation. From the description , it is given to understand that all the exclamation marks in the sententence to be except the tailing ones.
But the test case sample_test("!!!abc!!!! ", "abc "); result of the test case should be "abc!!!!. Here it appears different. Can any one help me to understand this.
I struggled a lot to just pass one test case which was giving one number count difference.
Finally I found, that "upon" should not be part of this list of removals. once I removed this from the removal list
it passed all the tests.
"Kate doesn't like some of words and doesn't count them. Words to be excluded are "a", "the", "on", "at", "of", "upon", "in" and "as", case-insensitive.
This comment is hidden because it contains spoiler information about the solution
This is really simple kata, I fumbled to see, if there is any catch. Explanation is not good
This comment is hidden because it contains spoiler information about the solution
Hi, One of the test cases is failing, the result should have been empty list [], where as my result is coming a sorted list. Am I missing any instructions, If there is nothing to sort should that result []. I am sorting last characters 0to9,AtoZ,atoZ. Please suggest.
Sorry, this question is not related to this kata, but another one of similar type, never mind.
Hi, One of the test cases is failing, the result should have been empty list [], where as my result is coming a sorted list. Am I missing any instructions, If there is nothing to sort should that result []. I am sorting last characters 0to9,AtoZ,atoZ. Please suggest.
for the following test case, my code is failing to pass:
"The number 0 is such a strange number Strangely it has zero meaning"
Not able to understand why?. Should 0 to be considered punctuaion and be ignored/removed.
I have removed 0 from the sentence made a new sentence (convered all to lower case, removed space in place of 0)
"the number is such a strange number strangely it has zero meaning"
The result is as shown below. Where am I doing worng. Did I understand the kata correctly?.
'01234517891011' should equal '012345617891011'
How do I upload my picture in the profile.
The test case seems to have characters instead of all digits as mentioned in the description. Offcourse the code can be written to check each character of the ticket string supplied. But this defeats the description of the kata.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...