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.
Not a kata issue.
Your solution doesn't work with negative numbers.
This comment is hidden because it contains spoiler information about the solution
Hey Mohamed,
From what I could see, your first for loop doesn't cover the entire length of numbers. That is, all elements in numbers are added into list except numbers[0] because your condition (i > 0), you should instead make it (i > -1). Try it if the extra coverage helps with the random test case.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
and how can i solve it ?
Not an issue but a problem with your code.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The first string should end with the second (whole) string
can you explan to me what is the Question really mean ? Because i have understood like the last letter in first String should equal the first letter in the second String should but the tests saying another thing
//Expected solution("samurai", "ai") to return true expected: but was:
//Expected solution("sumo", "omo") to return false expected: but was:
but this wasn’t written in the description. Can you add it in description ?