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.
This comment is hidden because it contains spoiler information about the solution
For some of the random tests, at times my total for programmer A is higher then the expected result. I've walked back through the algorithim, and checked the sum totals (
my sum of totals against the expected sum of totals) and they are equal. If I can return a higher result then the tests expect is there not an error in the tests? I'm assuming this is not the case because I very new to CodeWars, but any insight regarding this would be helpful.
Awesome, sorry for being so stupid!
I pass when I hit test, but when I hit attempt I can't pass the last three tests. Why do the last three tests want me to return an array with a nested format when the original input is not nested... Expected: '[[15], 76, [17], [33], [37], [39], 66, 70, 58, 36, [89], 58, 18, 2, 76, [97]]', instead got: '[15, 76, 17, 33, 37, 39, 66, 70, 58, 36, 89, 58, 18, 2, 76, 97]'. I can not solve for this without the other tests failing...
This took quite a while for a 7...
Any one have any websites or suggestions on a good place to start learning regular expressions??? I started the freecodecamp.org one the other day but just wanted to see if anyone had a go to or a regular site they reference for regex...
This comment is hidden because it contains spoiler information about the solution
thanks so much!!!
This comment is hidden because it contains spoiler information about the solution