摘要: 1 public class Solution { 2 public boolean wordBreak(String s, Set<String> wordDict) { 3 int len = s.length(); 4 boolean[] isValidStart = new boolean[ 阅读全文
posted @ 2016-02-18 11:01 一切不期而至 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1 public class Solution { 2 public List<List<String>> findLadders(String beginWord, String endWord, Set<String> wordList) { 3 List<List<String>> res = 阅读全文
posted @ 2016-02-18 09:58 一切不期而至 阅读(201) 评论(0) 推荐(0) 编辑