Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 401 Bytes

matrix-traversal-words.md

File metadata and controls

3 lines (2 loc) · 401 Bytes

Given a dictionary, a method to do lookup in dictionary and a M x N board where every cell has one character. Find all possible words that can be formed by a sequence of adjacent characters. Note that we can move to any of 8 adjacent characters, but a word should not have multiple instances of same cell.

Similar Problem