摘要: 找出最短路径 [抄题]: Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord 阅读全文
posted @ 2018-02-05 15:50 苗妙苗 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 不能重复: [抄题]: 给出一个候选数字的set(C)和目标数字(T),找到C中所有的组合,使找出的数字和为T。C中的数字可以无限制重复被选取。 例如,给出候选数组[2,3,6,7]和目标数字7,所求的解为: [7], [2,2,3] [思维问题]: [一句话思路]: [输入量]:空: 正常情况:特 阅读全文
posted @ 2018-02-05 08:28 苗妙苗 阅读(266) 评论(0) 推荐(0) 编辑