The correct fomat of answer?

  • 0

    my Java answer:

    Input: ["X"]
    Output: X
    Expected: ["X"]

    Why my format is different from the formal one?
    because the function is 'void',so I change the 'board'

    Thanks a lot!

Log in to reply

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