We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b6095 commit b84580bCopy full SHA for b84580b
graph_problems/grid_word_search.cpp
@@ -23,8 +23,8 @@
23
* Assumption: grid or word does not contain '$' char
24
*
25
* Approach: We can use Depth First Search with backtracking to solve this.
26
- * We can search the grid to match the grid the first letter of search word
27
- * in the grid, and then apply depth first search on the grid.
+ * We can search the grid to match the first letter of search word
+ * in the grid, and then apply depth first search on the grid at that position.
28
* Finding appropriate next characters in the search word at each depth while
29
* searching sequentially in the four directions.
30
0 commit comments