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.
Thanks for the idea! I'll try it.
I believe I fixed it. Please re-raise if the issue still persists.
Node 12 should be enabled (Refer this and this for more info)
JS nested
it
blocks should be removedFirstly, please use the
spoiler
flag when you post code in the discourse, even if your solution is wrong.As for your code: are you supposed to return
-1
ifa
is less thanb
or is there another condition that needs to be checked first? If I run your code with the following[a,b]
values, it will always return -1, regardless of any margin:[1,2], [1,100], [5,6], [5,7], [5,8]
. Can you see why?This comment is hidden because it contains spoiler information about the solution
note that Java does not support default arguments, so please be careful when doing or approving such translations ~~
Java signature mismatch:
defined as:
but called as:
This comment is hidden because it contains spoiler information about the solution
I had ' Test for last: expected 'ilast' to equal 'Invalid word'' error, but there is 'The first letter should not be lowercase, for example road.' in the rules
i did split is using list() to an array and when i print array[0] its correct
am getting an error, the list index out of range but am able to print it so it exist.
compiler error ?
Indeed, your option is more appropriate in the description.
Fixed.
Great Kata! I enjoyed it.
Only a minor suggestion - Rule #3 is worded strangely compared to the other two rules and could be interpreted incorrectly.
Current: "The first letter is not capital, for example road."
Suggestion: "The first letter should not be lowercase, for example road."
:)
Loading more items...