This is not only one solution, and my solution is right. Why does it judge wrong answer?


  • -1
    E

    Input: ["..9748...","7........",".2.1.9...","..7...24.",".64.1.59.",".98...3..","...8.3.2.","........6","...2759.."]
    Output: ["139748652","712456839","325169478","987631245","864312597","498527361","576893124","253984716","641275983"]
    Expected: ["519748632","783652419","426139875","357986241","264317598","198524367","975863124","832491756","641275983"]

    Although my solution and the expected solution is not same, but my result is a right solution. The topic says "You may assume that there will be only one unique solution.", but this test has at least 2 solution. I checked my output again and again, and confirm that it is a correct solution.


  • 0
    C

    @Earnest I'm afraid your answer is not correct. "139...","712...","325..."


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.