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.
derp why did I not doo that it was a boolean check
You did everything fine!:-)
Ok, I think I did both, marked as resolved and as ready so I hope everything is fine now and you not lost any honor due to my actions.
The two things are different but point 2) is kind of contrary of point 1). Hope it's clearer than my kata description:-)
I's possible to do it faster than O(n) if by that you mean trying every possible value for x (or y). The key is making use of the hint in the description...
You are basically brute-forcing the issue. By using the hint given in the descrption you can get a huge reduction in the possible solution space.
Thanks to ChristianECooper for the workaround regarding findall, that was driving me crazy 😜
Thanks for the quick follow-up re the descrption.
I changed my mark to "Ready" for the question whether it is ready to come out of beta. I hope that is what you meant by marking the issue as resolved? I'm new to the platform so I'm not sure that this is the process...
Good points!:-) I modified the description. Could you have a look? If that suits you, think to mark the issue as resolved otherwise tell me!
Thanks for the feedback.
I would add the numbers in the output are to be in the order in which they are encountered in the input string, not e.g. sorted by size.
Another issue is that in the example "001234" already the first zero is a cubic number. Then the second zero is one too. Then 1 is one, too. Or make it clear that if the digits follow each other immediately (without spaces) then one first has to look for three digit numbers.
I solved the Kata but had to do a bit of try-and-error because as I mentioned I found the description not clear enough.
Otherwise nice Kata BTW!
What do you propose?
The description is not very clear.
Same error, is somebody fixing this?