Ad
  • Custom User Avatar

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

  • Default User Avatar

    For the input below. My code on my IDE correctly outputs true but my exact same copy pasted code on codewars outputs false for this same input. I'm struggling to figure out what I am doing wrong. I pass the sample tests as well as the Attempt tests exampleTest and randomTests. The following is the input from moreRandomTests, which I do not pass. I've created a slew of my own sample inputs and am able to those validate correctly. Any insight would be much appriciated.

    {4, 6, 5, 9, 8, 7, 2, 3, 1},
    {1, 3, 2, 6, 5, 4, 8, 9, 7},
    {7, 9, 8, 3, 2, 1, 5, 6, 4},
    {5, 7, 6, 1, 9, 8, 3, 4, 2},
    {2, 4, 3, 7, 6, 5, 9, 1, 8},
    {8, 1, 9, 4, 3, 2, 6, 7, 5},
    {9, 2, 1, 5, 4, 3, 7, 8, 6},
    {6, 8, 7, 2, 1, 9, 4, 5, 3},
    {3, 5, 4, 8, 7, 6, 1, 2, 9}
    
  • Custom User Avatar

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