Given a sorted linked list, delete all
duplicates such that each element appear onlyonce.For
example,Given1->1->2, return1->2.Given1->1->2->3->3,
retu...
分类:
其他好文 时间:
2014-07-22 23:12:13
阅读次数:
426
apt-get install package 安装包 apt-get install package
--reinstall 重新安装包 apt-get -f install 强制安装?#"-f = --fix-missing"当是修复安装吧...
apt-get remove ...
分类:
其他好文 时间:
2014-05-01 00:38:45
阅读次数:
347
Cultural blocks1) TaboosPing-pong ball
exerciseTaboos can remove entire families of solutions from the ready grasp of
the problem-solver. This is not ...
分类:
其他好文 时间:
2014-04-30 18:17:21
阅读次数:
462
Given preorder and inorder traversal of a tree,
construct the binary tree.Note:You may assume that duplicates do not exist in
the tree.思路:由前序遍历数组和中序遍历...
分类:
其他好文 时间:
2014-04-30 02:20:33
阅读次数:
366
快速失败是指某个线程在迭代集合类的时候,不允许其他线程修改该集合类的内容,这样迭代器迭代出来的结果就会不准确。比如用iterator迭代collection的时候,iterator就是另外起的一个线程,它去迭代collection,如果此时用collection.remove(obj)这个方法修改了...
分类:
其他好文 时间:
2014-04-30 01:47:43
阅读次数:
600