2015年4月2日
摘要: print all permutation of strings From Herepublic static void permutation(String str) { permutation("", str); }private static void permutat... 阅读全文
posted @ 2015-04-02 04:23 Seth_L 阅读(99) 评论(0) 推荐(0) 编辑
摘要: public class Solution { public int[] twoSum(int[] numbers, int target) { HashMap num = new HashMap(); for(int i = 0; i array... 阅读全文
posted @ 2015-04-02 04:13 Seth_L 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Example:WordDistanceFinder finder = new WordDistanceFinder(Arrays.asList(“the”, “quick”, “brown”, “fox”, “quick”));assert(finder.distance(“fox... 阅读全文
posted @ 2015-04-02 04:05 Seth_L 阅读(471) 评论(0) 推荐(0) 编辑