Ad
  • Custom User Avatar

    You are returning wrong data type. Columns need be typeof number

  • Custom User Avatar

    Your code passes all the tests. I'm not sure what the issue is.

  • Custom User Avatar

    We can't see your code, so we don't know either.

  • Custom User Avatar

    You've selected the wrong values. Let's take what the first row is supposed to look like:

    5 | 5 | 5 | 11 | 1

    Those are the correct values that you are supposed to select assuming that the actual values in the monsters table look like this:

    1 | Cyril | 65700 | 37847 | big, smelly

    In the correct row: The first 5 in the id column is there because the value in the column to the right is Cyril and Cyril has 5 characters in it in it.
    The next 5 in the name column is there because the value in the column to the right is 65700 and 65700 has 5 characters in it.
    The next correct value, 5 in the legs column is there because the value in the column to the right is 37847 and 37847 has 5 characters in it.
    The next correct value, 11 in the arms column is there because the value in the column to the right is big, smelly and big, smelly has 11 characters in it.
    The next correct value, 1 in the characteristics column is there because the value in the column to the right (This time the columns wrap around, so the value to the right is in the id column) is 1 and 1 has 1 character in it.

  • Custom User Avatar

    From the description:

    Your task is to make a new table where each column should contain the length of the string in the column to its right (last column should contain length of string in the first column)

    You are selecting the actual values of the columns, not the length of the string in the column to the right of the current column.

  • Custom User Avatar

    In the 2nd sample test case:

    first word -> send
    
    Alice matches send to rend
    Bob   matches rend to lend
    Alice matches lend to ...nothing
    
    (so Bob wins)
    

    Rhyming is not part of this kata, instead of that idea, the words must have three out of four letters matching.

  • Custom User Avatar

    That won't even work, you're comparing two booleans with <= there. Basically, your code returns ``Nice!'`

  • Custom User Avatar

    Make sure the string you return is ok, it should be "Naughty!" or "Nice!".

  • Custom User Avatar

    Try changing Node's version.