LeetCode 79: Word Search — Step-by-Step Visual Trace
Medium — Backtracking | Depth-First Search | Matrix | String
The Problem
Given a 2D board of characters and a target word, determine if the word exists in the grid by connecting adjacent cells horizontally or vertically.
Approach
Use backtracking wit...
blog.tracelit.dev2 min read