Ad
  • Default User Avatar

    Excellent kata! At first this one seemed difficult, but once you break it down, its not bad. :)

  • Default User Avatar

    Excellent kata! I'm not sure why, but I had a very hard time wrapping my mind around this one.

  • Default User Avatar

    @hobovsky when asked like that, I don't believe I should have used the word "hack". Something like "unconventional solution" would have been more appropriate. I was also surpised to see the number of possible solutions.

    @WestwardLand968 before replying or marking something as resolved, please make sure to read the comment you are interacting with. No where in my comment do I state that the kata is too difficult nor do I state that the rank should be changed. Interactions like yours do nothing but hurt the codewars community.

  • Default User Avatar

    This is an exellent kata, but I fail to see how this is a beginner friendly kata. For python at least, I feel that the code size limit is far too small. Forcing the kata to be completed on a single line or single return line is a unique and excellent idea. However with the size set as small as it is, the solution becomes unachievable for most beginners. Having completed this kata, I'd like to provide the following feedback/suggestions:

    • Increase code size limit to 50.
    • Update the tags to better represent the kata, there is nothing Basic or Fundamental about this.
    • Provide wording in the description that can warn beginners that this is tricky or requires a hack to complete.
  • Default User Avatar

    Exellent Solution! Nice to see this Kata complete without any built-in functions and without the use of strings. Well done!

  • Default User Avatar

    This Kata was good, but the optional challenge of making it a one-liner made it a ton of fun.

  • Default User Avatar

    Thank you B1ts, I still have a lot to learn lol.

  • Default User Avatar

    Great Kata, however I did run into a issue with the random tests all expecting [0,0,0,0,....] in Python. I understand that this can be caused by mutating the input value, however I was assigning the list values to v and then making modifications to v. I would have thought that assigning values to v would have left values un-mutated. I was able to complete the Kata by not modifying v. Can anyone validate that this is expected behavior?

  • Default User Avatar

    Awesome to see a solution that doesn't rely on struct, great work!

  • Default User Avatar

    I did this Kata using only built-in python modules. When attempting the Kata, I ran into very strange encoding issues. On some attempts, everything would match up fine and others, I would end up with values like "\xe4\xb8\xad\xe5\x9b\xbd". I ended up hardcoding a few of the non standard characters which allowed the Kata to complete successfully after a few random attempts. I would be interested to know if anyone knows why the random encoding/decoding occurs?

  • Default User Avatar

    This was a very fun Kata! I only used built-in modules as I didnt know external modules were supported. So a note for new users, you can use external modules. :)

  • Default User Avatar

    This is a very tricky Kata. It is a lot of fun to work through, but has also shown me that I still have a lot to learn.

  • Default User Avatar

    This Kata took some time to fully understand, but was very fun to complete.

  • Default User Avatar

    Fun Kata, no issues.

  • Default User Avatar
  • Loading more items...