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.
In the description,
Features of random tests
section:Typo there (double
the
).There should be a fixed test that have two adjacent
black bmw
sightings. My solution doesn't handle that case and was able to pass through luck.Sorry – I had just checked that your "cheat" solution had been invalidated and that none of the other ones were.
I've implemented your suggestion and now it should be fixed. 😅
Approved by someone.
Well, now the message is flipped:
It should be user result first instead of the expected.
My suggestion is to run the reference solution first and put the result to a variable, then match user solution with the variable like this:
Should be fixed now 👍
its not just you mate. LOL
https://www.codewars.com/kata/reviews/64abed357cbb0400010acc5b/groups/667669efae093df165d30e93
fixed
Finally made adjustments to cover edge cases mentioned by Mednoob. Kata can be approved now :)
Fixed by fork above.
Fork approved.
Javascript translation
Javascript translation
n + 2 is outside the range. if n was 12, then yes, the 11-13 pair should be counted.
Loading more items...