Word Ladder (LeetCode 127)
The problem You get a word, an word and a list of allowed words . A…
Tag
20 posts
The problem You get a word, an word and a list of allowed words . A…
The problem You get a grid where is a wall, is a gate, and (2147483647) is an…
The problem You get an undirected, connected graph with nodes as an adjacency…
The problem You get an grid where each cell is (empty), (fresh orange) or…
The problem You get a perfect binary tree: every internal node has exactly two…
The problem You get the of a binary tree. Return its minimum depth: the number…
The problem You stand at index 0 of an array . From index you may jump forward…
The problem There are courses labelled to . Each pair in means “you must…
The problem There are courses labelled to . Each pair means “take before…
The problem You get the of a binary tree with unique values, and two different…
The problem You get the of a binary tree. Imagine standing to its right and…
The problem You get the of a binary tree. Return its values level by level…
The problem You get the of a binary tree. Return its values level by level, but…
The problem You get the of a binary tree. Return its values level by level, but…
The problem You get the of a non-empty binary tree. Return a list where the -th…
The problem An alien language uses lowercase English letters in an unknown order…
Twelve problems that drill the graph toolkit from Lesson 16 — DFS, BFS…
Graphs look intimidating, but interview graph problems reduce to four tools on…
When a tree (or grid) problem is about levels or shortest distance, you want BFS…
Ten problems that drill the breadth-first search / level-order pattern from…