Ad
  • Custom User Avatar

    Seems quite the opposite to me. I thought it would be easy, but nope. Timed out.

  • Custom User Avatar

    Very cool kata, and is also a bit different from what we are used with

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Right, was a problem with my inputs. The reset buton helped, thank you

  • Custom User Avatar

    Because:

    (ignore the last chunk if its size is less than sz)

  • Custom User Avatar

    The test is fine. Not a kata issue.

    s = "733049910872815764"
    testing(rev_rot(s, 5), "330479108928157")
    

    That is the test, you have your numbers wrong. Backup your code, click Reset to restore the tests, and try again.

  • Custom User Avatar

    Python has an error test:

    test: "373049910872815764" -> My script's output: '730439108928157' should equal '330479108928157'

    That's totally wrong based on the code description

  • Custom User Avatar

    There is an issue at least in this test: ' remove_smallest(4, [-87, -47, 41, 84, -21, 29, -89, 13, -32, 52, 43, 92, -30, -7, 63, -80, -70, 59, 99, 25, -70, -62, 81, 97]) '

    my script does remove: ' -89 , -87, -80, -70 ' without changing the order of the list, but still getting an error! , as the final list is : ' [-47, 41, 84, -21, 29, 13, -32, 52, 43, 92, -30, -7, 63, 59, 99, 25, -70, -62, 81, 97] '

  • Custom User Avatar

    Very clever solution. Good job guyssss

  • Custom User Avatar

    Tried 3 different algorithms, each one build differit, but same timeout error... Pretty hard this kata, but a good one

  • Custom User Avatar

    You can't find the sum(n)-(a+b) == (a*b), (as the problem is saying) if you are not including the n, this should be the first thing you would look into when you start solving this kata. Idk why would you ask this.

  • Custom User Avatar

    I don't find how could i pass this test: ' division, [6, -29, 19, -10, 16, -17] and [-19, 15, -17, 10, 19, 25] ' with division, is there a division - word operator in Python?

  • Custom User Avatar

    Mega weird kata. He focused to write the story about wild west, but forgot to focus on explaination. L

  • Custom User Avatar

    was a very good kata, would be helpful more kata like this where you need to find a better way for increasing the time speed of your algorithm.