Illustration showing a word being searched in a grid using DFS backtracking

Word Search (Blind 75): DFS + Backtracking Explained

Problem Overview We are given a 2D array of characters named board. The board size is m x n. We are also given a string word. Our goal is to find whether the word exists in the board. If found → return true, otherwise → return false. LeetCode - Word Search Example Input: board = [["A","B","C","E"], ["S","F","C","S"], ["A","D","E","E"]], word = "ABCCED" Output: true ...

February 26, 2026 · 4 min · 667 words · Hitesh Patel