Solution to Word Search by LeetCode

19 Jun

Question: https://oj.leetcode.com/problems/word-search/

Question Name: Word Search

The description and comments are misleading. Comments says “@param board, a list of lists of 1 length string”. And in the example, the input board is [[“ABCE”], [“SFCS”], [“ADEE”]]. But actually, in the tests, the board is a list of same length string, like [“ABCE”, “SFCS”, “ADEE”].

Leave a Reply

Your email address will not be published. Required fields are marked *