Ahh yes I was wondering what to do about that cheat, will have a look at adding some random solutions. Thanks for the detailed response, I'll see if I can make it clearer!
Ok, thanks, works now;-)! Marked issue as resolved. By the way some random tests would be nice (see the cheat, this point isn't fixed now). I think your description isn't clear enough, for example what happens if there are different matches (count first, count all,...?) or what exactly is a match, so you have to guess some things;-). It's not really difficult, but good to have these infos;-)!
For one of the test cases [ 'a', 'bc', 'def' ], [ 1, 234, 56, 7890 ], the kata says the answer should be 30, but I'm getting 27. A manual count results in 27. How do you get 30?
No random tests
Node 12 should be enabled
Ahh yes I was wondering what to do about that cheat, will have a look at adding some random solutions. Thanks for the detailed response, I'll see if I can make it clearer!
Ok, thanks, works now;-)! Marked issue as resolved. By the way some random tests would be nice (see the cheat, this point isn't fixed now). I think your description isn't clear enough, for example what happens if there are different matches (count first, count all,...?) or what exactly is a match, so you have to guess some things;-). It's not really difficult, but good to have these infos;-)!
This comment is hidden because it contains spoiler information about the solution
Thanks, you were right - embarassingly I had got my own solution wrong and was using that to calculate the test solutions. Fixed now!
I just raised the same issue with a more detailed example (so it's hidden) - you are right (i think;-))...
:-) Sometimes this happens;-)...
For one of the test cases
[ 'a', 'bc', 'def' ], [ 1, 234, 56, 7890 ]
, the kata says the answer should be 30, but I'm getting 27. A manual count results in 27. How do you get 30?I do kind of feel tired :~)
Little bit lazy today;-)?
This comment is hidden because it contains spoiler information about the solution
Look at my solution please
This comment is hidden because it contains spoiler information about the solution