2014年5月3日

摘要: Problem Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are inspected in this problem:Hash Table. One hash set is the words di... 阅读全文

posted @ 2014-05-03 06:34 卢泽尔 阅读(412) 评论(0) 推荐(0)

摘要: Problem Link:http://oj.leetcode.com/problems/longest-consecutive-sequence/This problem is a classical problem where we can reduce the running time by ... 阅读全文

posted @ 2014-05-03 02:40 卢泽尔 阅读(186) 评论(0) 推荐(0)

摘要: # Definition for a binary tree node# class TreeNode:# def __init__(self, x):# self.val = x# self.left = None# self.right ... 阅读全文

posted @ 2014-05-03 02:18 卢泽尔 阅读(279) 评论(0) 推荐(0)