房子里面老裂缝是怎么回事呀?# Living
r*o
1 楼
以前的老题。
是不是要用到DFS/BFS啊?
有简单的方法吗?
Given a source word, a target word, and a dictionary, how to transform the
source word into target word by changing only one letter in each step. The
word you get in each step must be in the dictionary.
是不是要用到DFS/BFS啊?
有简单的方法吗?
Given a source word, a target word, and a dictionary, how to transform the
source word into target word by changing only one letter in each step. The
word you get in each step must be in the dictionary.