Skip to content

Commit b84580b

Browse files
authored
Problem 168: Comment correction
1 parent f4b6095 commit b84580b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graph_problems/grid_word_search.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
* Assumption: grid or word does not contain '$' char
2424
*
2525
* 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.
26+
* We can search the grid to match the first letter of search word
27+
* in the grid, and then apply depth first search on the grid at that position.
2828
* Finding appropriate next characters in the search word at each depth while
2929
* searching sequentially in the four directions.
3030
*

0 commit comments

Comments
 (0)