Back to Question

Word Search

Question Explain

Given an $m \times n$ grid of characters and a string `word`, return true if `word` exists in the grid. The word can be constructed from letters of sequentially adjacent cells. Use Backtracking/DFS.

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.