Word Search II

Given an m x n character board and an array of words, return all words that can be constructed from sequentially adjacent horizontal or vertical cells. A cell may not be used more than once in the s...

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: