Ad
  • Custom User Avatar

    This kata is very simple but the description is clear enough. Only looking at test cases, one should write the code.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This is really simple kata, I fumbled to see, if there is any catch. Explanation is not good

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    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.

  • Default User Avatar

    Sorry, this question is not related to this kata, but another one of similar type, never mind.

  • Default User Avatar

    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.

  • Default User Avatar

    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'

  • Default User Avatar

    How do I upload my picture in the profile.

  • Default User Avatar

    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.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Loading more items...