["CAA","AAA","BCD"] "AAB" True?


  • 0
    S

    Hi,

    For the word search pb, the definition of adjacent letters is:

    where "adjacent" cells are those horizontally or vertically neighboring

    Given ["CAA","AAA","BCD"], which are the rules that make "AAB" a correct path in the matrix?

    Thanks!


  • 2

    See the highlighted path in red.

    CAA
    AAA
    BCD


Log in to reply
 

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