Ad
  • Default User Avatar

    I see it too

  • Custom User Avatar
  • Custom User Avatar
    1. Sum all the digits (for 10 this is 1)
    2. Substract the sum from n (this is 10-1)
    3. If the new n (10-1) is in the list: return else goto 1.
  • Custom User Avatar

    Sum all the digits... You haven't done that. Not a kata issue.

  • Default User Avatar

    Yes, that is correct.

  • Default User Avatar

    Hi KKOA

    Thanks for replying! I have noticed this on some of my other katas too. Some users will see different tests to what other users will see. I'm not sure if certain users are getting served by another server with a stale cached copy or what's going on. I can guarantee you that what I see when I go to "Edit Kata" is that specific test I pasted up top. I'm sorry but there's nothing I can do about it. For now, just change TripleDouble in the Example Tests to Kata.TripleDouble.

  • Default User Avatar

    No response. Closing issue.

  • Default User Avatar

    Hi KKOA

    Can you please provide more information on the issue that you are experiencing? For test5 this is what I can see in the example tests:

    @Test
    public void test5(){
      assertEquals(1, Kata.TripleDouble(10560002L, 100L));
    }