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.
Very nice! This solution eats my solution before breakfast :´-)
Yes. I understand this.
The thing is: In my example you check only for "33" in num2 if you do not understand there could more than one triple in num1.
So I suggest show such a case in the Kata description...
Just my 2cents...
Have a nice one!
Hi. Thx for your reply!
In my example, the first triple would we "333" (plus we have "888" and "666"; so "multiple" triples in num1).
In the Kata-description, in all examples provided, you only see max. one triple in each num1.
One could argue that in a random number multiple triples are of course a possibility but I think it may be easier to grasp the challenge if you actually show this possbility.
I, for example, assumed there could be only one triple in num1 so I needed to research why some tests failed.
Best wishes!
I suggest to enhance the instructions to make more clear that multiple tripples/doubles are possible per number
E.g.:
num1: 8611223333888666 num2: 495281788
there is a typo(?): "given the list >Ist<" ?