stackflow 上有同学提问"C++ 与 Objective-C 有什么异同?"楼下的提供的两个资料挺不错的.其一是:Pierre Chatelier 写的下载链接:http://pierre.chachatelier.fr/programmation/fichiers/cpp-objc-en....
分类:
编程语言 时间:
2014-08-22 10:30:35
阅读次数:
246
转自:zhangjunhd的BLOG1、APT主要命令apt-cache search ------package 搜索包sudo apt-get install ------package 安装包sudo apt-get remove -----package 删除包sudo apt-get re...
分类:
其他好文 时间:
2014-08-22 00:18:55
阅读次数:
263
1,中文输入法:sudo apt-add-repository ppa:fcitx-team/dailybuild-fcitx-mastersudo apt-get updatesudo apt-get upgradesudo apt-get remove ^ibus*sudo apt-get re...
分类:
其他好文 时间:
2014-08-21 21:08:34
阅读次数:
335
git remote add origin https://git.oschina.net/wcms/WCMS.git?//添加仓库 git remote 查看当前仓库 git remote remove origin //删除仓库 git push origin ?:version ?//删除远程分支...
分类:
其他好文 时间:
2014-08-21 17:27:34
阅读次数:
218
原题:
Given inorder and postorder traversal of a tree, construct the binary tree.
Note:
You may assume that duplicates do not exist in the tree.
思路:和上一题一样,后续我们可以通过最后一个值得到根的值,同样可以通过定位根的值得到左右子树的...
分类:
其他好文 时间:
2014-08-21 17:22:24
阅读次数:
138
在使用java.util 里Properties ,当value是null时报 NullpointerException. 看源码发现 publicclass Properties extends Hashtable { /** * use serialVersionUID fr...
分类:
其他好文 时间:
2014-08-20 20:49:02
阅读次数:
150
Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending order...
分类:
其他好文 时间:
2014-08-20 19:37:12
阅读次数:
175
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-08-20 13:59:22
阅读次数:
176
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2014-08-20 13:53:12
阅读次数:
168
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-08-20 13:52:32
阅读次数:
142