Store the word list in a trie. Starting at each location in the
matrix, search the trie for the patterns formed in each direction.

On Jan 17, 12:33 pm, Piyush <[email protected]> wrote:
> Given a MxN char array matrix, find all words in it. search left, right,
> diagonally

-- 


Reply via email to