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.
The format of your output should be an array (for you code above [i, e]). I understood this only by getting the wild guess. I think this is an issue of the description of the task.
OP solved it, closing
I see. Thanks.
It's not random, all the ones your code fail have something in common, it's your job to debug your code, not ours. I already gave you some hints about it. Good luck.
Note: it's not the last word in this case that's missing the space
It fails because it doesn't braeak the last word. but it seems random. On other similar cases doesn't fail.
Expected: "take Next Look Point Number", instead got: "take Next Look PointNumber"
but other:
Testing "longNewBigFeelLook", expecting: "long New Big Feel Look" it pass.
what does your code return for those that fail?
Testing "bigPointCompany", expecting: "big Point Company" Passed
Testing "lastOldFirst", expecting: "last Old First" Passed
Testing "lookHaveAskPoint", expecting: "look Have Ask Point" Passed
Testing "thinkFewFact", expecting: "think Few Fact" Didn't pass
Expected: "think Few Fact", instead got: "think FewFact"
Testing "useHave", expecting: "use Have" Passed
Testing "bigNounsProblemRight", expecting: "big Nouns Problem Right" Passed
I don't see any pattern here, It's just random
Not a kata issue, that's a problem with your code, look for a pattern in the input of those tests your code is failing. See where your code is adding those spaces.
This comment is hidden because it contains spoiler information about the solution
Your function should return an array in javascript.
Please don't post solutions here, why don't you ask under that solution in Solutions instead?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Me neither. I keep passing the 3 sample tests, but none of the submission tests.