[word search] wrong instruction about the input (board) datatype


  • 10
    S

    In the instructions, it is said that the board as input would be "a list of list of 1 length string".

    "For example,
    Given board =

    
    [
      ["ABCE"],
      ["SFCS"],
      ["ADEE"]
    ]
    
    

    "

    However, all actual test cases have a different datatype --- the board is a list of strings.

    With the same example above, the actual board =

    
    [
      "ABCE",
      "SFCS",
      "ADEE"
    ]
    
    

Log in to reply
 

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