摘要: http://www.jyuan92.com/blog/leetcode-course-schedule/ http://www.cnblogs.com/zmyvszk/p/5348786.html 阅读全文
posted @ 2017-09-14 13:04 lilyfindjob 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 讲解: http://www.cnblogs.com/SeaSky0606/p/4752941.html leetcode 相关训练: http://www.cnblogs.com/zmyvszk/p/5351494.html 阅读全文
posted @ 2017-09-12 12:17 lilyfindjob 阅读(116) 评论(0) 推荐(0) 编辑
摘要: public TreeNode binaryTree2List(TreeNode node) { if (node == null) return node; // Convert to DLL using bintree2listUtil() node = bintree2listUtil(node); ... 阅读全文
posted @ 2017-09-10 07:39 lilyfindjob 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Dis(n1, n2) = Dis(root, n1) + Dis(root, n2) - 2* Dis(root, lca) 阅读全文
posted @ 2017-09-10 07:04 lilyfindjob 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, flatten it to a linked list in-place. For example,Given The flattened tree should look like: recursive: 阅读全文
posted @ 2017-08-20 04:49 lilyfindjob 阅读(77) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointe... 阅读全文
posted @ 2015-07-23 08:30 lilyfindjob 阅读(90) 评论(0) 推荐(0) 编辑
摘要: import osdef rename_file(): file_name_list=os.listdir(r"/Users/Lily/Documents/ASU1/CodePractise/prank") print(file_name_list) saved_path=os.g... 阅读全文
posted @ 2015-05-24 02:22 lilyfindjob 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 安装Hadoop:http://khangaonkar.blogspot.com/2012/09/hadoop-2x-tutorial.htmlyarn-site.xmlAdd the following to etc/hadoop/yarn-site.xml.yarn.nodemanager.au... 阅读全文
posted @ 2015-04-25 07:11 lilyfindjob 阅读(338) 评论(0) 推荐(0) 编辑
摘要: yahoo pipes 用来mash up.可以将各个网站的信息组合起来发布需要网站的RSShttps://pipes.yahoo.com/pipes/docs?doc=sources注册yahoo即可使用。 阅读全文
posted @ 2015-03-21 10:50 lilyfindjob 阅读(152) 评论(0) 推荐(0) 编辑
摘要: def getopenconnection(user='postgres', password='1234', dbname='dds_assgn1'): return psycopg2.connect("dbname='" + dbname + "' user='" + user + "' ... 阅读全文
posted @ 2015-03-20 06:29 lilyfindjob 阅读(399) 评论(0) 推荐(0) 编辑