Find String Path in Grid Moving Only Right or Down

Easykarat

Given a grid of characters and a string, find the path of the string in the grid. You can only traverse to the right or bottom.

Example

Consider the grid of characters:

[['a', 'b', 'c'],
 [...

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: