摘要: 问题给出两个单词(start和end)与一个字典,找出从start到end的最短转换序列。规则如下:一次只能改变一个字母中间单词必须在字典里存在例如:给出start = "hit"end = "cog"dict = ["hot","dot","dog","lot","log"]返回[ ["hit","hot","dot","dog","cog"], [&qu 阅读全文
posted @ 2013-06-05 22:18 Shawnone 阅读(15193) 评论(2) 推荐(2) 编辑