Word Search

Given an m x n grid of characters board and a string word, return true if word exists in the grid, otherwise false.

The word must be constructed from letters of sequentially adjacent cells, whe...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: