Ad
  • Custom User Avatar

    are you sure you're returning an array of appropriate size? (I bet not).

  • Custom User Avatar

    When I attempt to pass the full test suite I get the same error for all the test cases.
    I looks like it's a bug in the test class, or some misleading info.

    java.lang.ArrayIndexOutOfBoundsException: 1

    at QueensAndKingsTest.isOptimalMatch(QueensAndKingsTest.java:163)

    at QueensAndKingsTest.testBestMatchSingleSolution(QueensAndKingsTest.java:25)

    (…)