LeetCode 79: Word Search — Step-by-Step Visual TraceGiven a 2D board of characters and a target word, determine if the word exists in the grid by connecting adjacent cells horizontally or vertically.2 min read·blog.tracelit.devApr 9
LeetCode 212: Word Search Ii — Step-by-Step Visual TraceGiven a 2D board of characters and a list of words, find all words from the list that can be formed by sequentially adjacent letters on the board, where each cell can only be used once per word.3 min read·blog.tracelit.devApr 9
LeetCode 127: Word Ladder — Step-by-Step Visual TraceFind the length of the shortest transformation sequence from beginWord to endWord, where each transformation changes exactly one letter and each intermediate word must exist in the given wordList.1 min read·blog.tracelit.devApr 9
LeetCode 139: Word Break — Step-by-Step Visual TraceGiven a string s and a dictionary of words wordDict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.1 min read·blog.tracelit.devApr 9
LeetCode 286: Walls And Gates — Step-by-Step Visual TraceFill each empty room with the distance to its nearest gate, where rooms are represented by a 2D grid with gates (0), walls (-1), and empty rooms (INF).2 min read·blog.tracelit.devApr 9