The description of input for python is incorrect


  • 2
    Y

    I think the input variable board is not a list of lists of 1 length string as describe in the python code snippet, in fact, according my AC-ed code, the board is a list of strings with the same length, which is the same with what people may intuitively think.


  • 0
    V

    It is a typo error; "board, a list of lists of equal length strings" is the right statement


  • 1
    R

    you are right, input is not [['xxx'],['yyy']], but [['x','x','x'],['y','y','y']]


  • 0
    M

    I got WA repeatedly with this error. there is some test data for you, good luck:

    • ["aa"] "aa"
    • ["ab", "cd"] "acdb"

Log in to reply
 

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