A Wrong Test Case


  • -1
    N

    Input: "nllynrwlxijbpxtrtwnxxaetdtwzcbljckitulbfurcxlcnlpbp"

    Output: "nllynrwlxijbpxtrtwnxxaetdtwzcbljckitulbfurcxlcnlpbplnclxcrufblutikcjlbczwtdteaxxnwtrtxpbjixlwrnylln"

    Expected: "pbplnclxcrufblutikcjlbczwtdteaxxnwtrtxpbjixlwrnyllnllynrwlxijbpxtrtwnxxaetdtwzcbljckitulbfurcxlcnlpbp"

    Obviously, the expected output, whose middle index is 0, is longer than my output, whose middle index is size - 2.


Log in to reply
 

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