Ad
  • Custom User Avatar

    I coulnd't reproduce the problem. The test solution expected [9, 0, 8, 0, 6, 6, 0, 3, 9, 0, 2, 6] when I tried.

  • Custom User Avatar

    I see the change. Thanks a lot.

  • Custom User Avatar

    It looks great! I'm wondering if we should generate more 0s in the arrays since now they are very sparse which may not cover some cases (like several 0s in a sequence). But it's already pretty good right now. How do I accept the change? Should I just re-publish it?

  • Custom User Avatar

    Thanks for the translation. Feel free to add more test cases as you see necessary.

  • Custom User Avatar

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

  • Custom User Avatar

    resolved

  • Custom User Avatar

    withit56, thanks a lot for this suggestion. I love your example which is very illustrative.
    I've updated my kata to 1. create alias between pairZeros and pairZeors; 2. adopt your example in the description.

  • Custom User Avatar

    Thank you for pointing it out. It's now fixed.