Word Search With Diagonals and Reuse

Asked at Amazon · Coding Questions · Difficulty: Medium

Given a 2D `grid` of characters and a `word`, return `True` if the word can be formed from sequentially adjacent cells, where adjacency is 8-directional (including diagonals) and **cells may be reused**.

Loading the problem…