GL
GrindLens
PatternsSheetsPricingQuestions
  1. Home
  2. /Patterns
  3. /Backtracking - Grid Path Search
←All Patterns
BacktrackingEvidence Contributing

Backtracking - Grid Path Search

DFS with backtracking over a 2D grid, marking/unmarking visited cells while searching for a path matching a target.

Practice Problems: 2
Difficulty: 0 Easy·1 Medium·1 Hard

Core technique

Review the technique, then try the mapped problems below. The right approach depends on each problem's constraints.

  • Core Strategy: DFS with backtracking over a 2D grid, marking/unmarking visited cells while searching for a path matching a target.

Canonical Practice Problems

2 problems
1.Word SearchMedium
Solve on LeetCode↗
2.Word Search IIHard
Solve on LeetCode↗

Curated Sheets Containing This Pattern

Blind 75

2 problems

→

LeetCode Top Interview 150

2 problems

→

NeetCode 150

2 problems

→

NeetCode All

2 problems

→

Striver A2Z

1 problem

→

Related Algorithmic Patterns

Tries1 shared

Trie / Prefix Tree

Backtracking

Backtracking - Combinations

Backtracking

Backtracking - Partition/Cut Points

Backtracking

Backtracking - Permutations

Backtracking

Backtracking - Subsets (Include/Exclude)

GL
GrindLens

Precision pattern analytics and curated sheet tracking for algorithmic coding interview preparation.

Quick lookup:⌘Kor/

Platform

  • Patterns→
  • Sheets→
  • Pricing→

Community

  • Feedback
  • Report a bug
  • X
  • LinkedIn

© 2026 GrindLens. LeetCode is a trademark of LeetCode. GrindLens is an independent analytics platform and is not affiliated with or endorsed by LeetCode.

Terms of ServicePrivacy Policy