Ad
  • Default User Avatar

    derp why did I not doo that it was a boolean check

  • Custom User Avatar

    You did everything fine!:-)

  • Custom User Avatar

    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.

  • Custom User Avatar
    1. When you posted, you marked your post as being an "issue" (in red) which removes "Honor" to the author. If you are glad with his answer you can mark the "issue" as resolved and the "Honor" previously removed come back.
    2. You can mark a kata as "ready" if you think that everything is in order.
      The two things are different but point 2) is kind of contrary of point 1). Hope it's clearer than my kata description:-)
  • Custom User Avatar

    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...

  • Custom User Avatar

    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.

  • Custom User Avatar

    Thanks to ChristianECooper for the workaround regarding findall, that was driving me crazy 😜

  • Custom User Avatar

    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...

  • Custom User Avatar

    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.

  • Custom User Avatar

    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!

  • Custom User Avatar

    What do you propose?

  • Custom User Avatar

    The description is not very clear.

  • Custom User Avatar

    Same error, is somebody fixing this?