摘要: java: http://my.oschina.net/xianggao/blog/88477锁的学习 NLP: http://52opencourse.com/138/斯坦福大学自然语言处理第五课-拼写纠错(spelling-correction) http://mallet.cs.umass.e 阅读全文
posted @ 2014-07-09 23:51 hansongjiang8 阅读(288) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = x; ... 阅读全文
posted @ 2014-07-09 22:08 hansongjiang8 阅读(169) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/pickless/article/details/9191075Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7migh... 阅读全文
posted @ 2014-07-09 21:34 hansongjiang8 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 1.利用荷兰国旗的思路,每次记住最后一个位置,遇到一个不重复的数,放在它后面,代码很简单。Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the... 阅读全文
posted @ 2014-07-09 20:21 hansongjiang8 阅读(827) 评论(0) 推荐(0) 编辑