Word Search II
Given an m x n board of characters and a list of strings words, return all words on the board.
Word Search II

Given an m x n board of characters and a list of strings words, return all words on the board.

Example 1:
Input: {"board":[["o","a","a","n"],["e","t","a","e"],["i","h","k","r"],["i","f","l","v"]],"words":["oath","pea","eat","rain"]}
Output: ["eat","oath"]
Input
arr ={"board":[["o","a","a","n"],["e","t","a","e"],["i","h","k","r"],["i","f","l","v"]],"words":["oath","pea","eat","rain"]}
prefix

found

[]

o0,0a0,1a0,2n0,3e1,0t1,1a1,2e1,3i2,0h2,1k2,2r2,3i3,0f3,1l3,2v3,3activepathvisited
Trie Visualizationeopraaeattaihn
Variables
VariableValue
R4
C4
wordsoath,pea,eat,rain
boardMatrix(4x4)
found[]
DepthFunction Call
1findWords(board, words)
0/233