其他
程序员生存定律这系列的目录在这里:程序员生存定律--目录喜欢从头瞄的,可以移步。------------------------------------------------------------------------------取他人、他物所长,为我所用的这一面,始终有着不可忽视的价值。在大...
分类:其他 时间:2014-07-21 11:07:47 收藏:0 阅读:327
一个FTP整站上传的批处理代码。例子:@echo offrem 设置FTP服务器地址set ftpIP=192.168.0.2rem 设置FTP用户名set ftpUser=MyUserrem 设置FTP密码set ftpPass=MyPassrem 设置待上传的本地文件夹目录set UpFolde...
分类:其他 时间:2014-07-22 00:38:04 收藏:0 阅读:270
Simply care about the boundary cases:class Solution {public: ListNode *mergeTwoLists(ListNode *l1, ListNode *l2) { if (l1 && !l2) return l1;...
分类:其他 时间:2014-07-21 11:07:12 收藏:0 阅读:334
Apparently BFS is the most obvious one.. but it is not that simple - only constant extra space is provided.Then the only strategy to take is recursion...
分类:其他 时间:2014-07-21 11:06:51 收藏:0 阅读:331
Very classic problem. You can brush up your DP and Searching skills.DP:class Solution {public: int maxSubArray(int A[], int n) { // dp[i + 1...
分类:其他 时间:2014-07-22 00:38:05 收藏:0 阅读:416
C#类实例的初始化是这样进行的:在调用构造函数的入口处先初始化自身数据成员,若声明字段时显式给出了初始化语句则按初始化语句进行,否则若是基本类型例如int或string则初始化为0或"",若是类则保持为null;若该类含有基类则下一步调用基类构造函数,基类构造函数的执行过程同上,最后调用派生类构造函...
分类:其他 时间:2014-07-22 00:38:05 收藏:0 阅读:307
二分查找方法二分查找经常用来在有序的数列查找某个特定的位置。因此,应用二分查找法,这个数列必须包含以下特征:存储在数组中有序排列二分查找方法不适用于链表,因为链表方法需要遍历,应用二分查找法意义不大。一般情况下,我们默认数组是单调递增数列,且无重复元素。(有重复元素的题应该如何解决)二分查找方法递归...
分类:其他 时间:2014-07-21 11:05:10 收藏:0 阅读:335
最近因为工作需要,编译gcc4.8准备工作,建议你在开始在准备之前就开始下载gcc的源码包。这样一来,准备工作完成时,gcc也下载完了。wgethttp://mirror.bjtu.edu.cn/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2在安装gcc之前,需要安装另外三个...
分类:其他 时间:2014-07-22 00:38:06 收藏:0 阅读:321
Hashtable,Dictionary
分类:其他 时间:2014-07-22 00:38:06 收藏:0 阅读:316
继承class Vehicle { var numberOfWheels: Int var maxPassengers: Int func description() -> String { return "\(numberOfWheels) wheels; up t...
分类:其他 时间:2014-07-21 11:02:04 收藏:0 阅读:269
1155369155370155371166744
上一页1667435下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!