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.
It stands for temporary.
what does 'temp' stand for ?
Yeah, it's a bit annoying in this particular case. @jy1138 copy and pasted my solution and submitted it. >.>
love how you name variables:
numberOfStrawsPlusTheNeedleThatAreContainedWithinTheGiantHaystackContainingTheNeedleWhichIsProbablyLocatedInAFieldSomewhereNearABarnOnAFarmPotentiallyWithinTheVicinityOfRuralTexas
:))
How come TWO people can come up with this exact same codes?!! @A@
I agree B1ts. The author could have made this more explicit to avoid confusion
Please post the code here. Be sure to mark it as spoiler.
So for some reason mine shows an error when I run it on the codewars site in the test case "dabc", but when I try and run it in Eclipse the result is right, even for "dabc". I have no idea why this is happening, I've literaly copy-pasted the code from eclipse to here , I'm pretty sure I've done everything the problem wants and I still don't understand why this is happening, I mean it runs fine in Eclipse for whatever inputs I may put. Can you help me please? I can send you the code
Solutions with duplicates should not pass. Which language?
The string itself doesn't need to be sorted, which is sort of implied by the examples, but should be stated more clearly IMO.
abd
isn't consecutive, becausec
is clearly missing.why is 'dabc' is true when it is not consecutive? if it's true then 'abd' should be true as well