自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

知之可否

Be yourself; everyone else is already taken.​

  • 博客(11)
  • 资源 (10)
  • 收藏
  • 关注

原创 程序员面试:电话面试问答Top 50

http://blog.jobbole.com/84618/

2015-10-29 22:57:02 1731

原创 lintcode:Partition Array

Given an array nums of integers and an int k, partition the array (i.e move the elements in “nums”) such that:All elements < k are moved to the left All elements >= k are moved to the right Return th

2015-10-28 17:17:29 927

原创 lintcode:2sum

Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the target, where in

2015-10-27 15:15:50 492

原创 lintcode:3 Sum

Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Example For example, given array S = {-1 0 1

2015-10-26 22:14:34 413

转载 为什么static成员必须在类外初始化

为什么静态成员不能在类内初始化在C++中,类的静态成员(static member)必须在类内声明,在类外初始化,像下面这样。class A{ private: static int count ; // 类内声明};int A::count = 0 ; // 类外初始化,不必再加static关键字为什么?因为静态成员属于整个类,而不属于某个对象,如果在类内初始化,会导致每个对象都包

2015-10-25 22:41:56 3236

原创 lintcode:3 Sum Closest

Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers.Example For example, given array S = {-1 2 1 -4},

2015-10-25 22:05:07 747

原创 lintcode:Merge Sorted Array

Given two sorted integer arrays A and B, merge B into A as one sorted array.Example A = [1, 2, 3, empty, empty], B = [4, 5]After merge, A will be filled as [1, 2, 3, 4, 5]Note You may assume that A h

2015-10-14 20:55:30 477

原创 lintcode:Product of Array Exclude Itself

Given an integers array A.Define B[i] = A[0] * … * A[i-1] * A[i+1] * … * A[n-1], calculate B WITHOUT divide operation.Example For A = [1, 2, 3], return [6, 3, 2].1.提交1class Solution {public: /**

2015-10-14 20:49:55 684

转载 2014找工作总结-机会往往留给有准备的人

http://blog.csdn.net/xiajun07061225/article/details/12844801

2015-10-14 15:23:09 495

转载 对象创建:Java和C++比较

1、C++创建对象方式在C++中我们可以采用如下两种方式来创建对象,Dog dog;//Dog为类名 Dog *p = new Dog();这两种方式在C++中都能完成对象的创建,但是在内存中的处理却完全不同。对于第一种方式而言,dog是被存储在栈中的,占用的大小是Dog类中成员变量占用内存的和,此处不包括成员方法,因为成员方法是存放在公共存储区以便所有该类的对象都可以访问的。对于第二种方式则

2015-10-10 09:48:10 433

原创 Lintcode 比较字符串

比较两个字符串A和B,确定A中是否包含B中所有的字符。字符串A和B中的字符都是 大写字母样例给出 A = "ABCD" B = "ACD",返回 true给出 A = "ABCD" B = "AABC", 返回 false注意在 A 中出现的 B 字符串里的字符不需要连续或者有序。class Solution {public: /** *

2015-10-07 20:52:52 1533

Win7平台VS2010安装Visual Assist X

vs2010适用的破解版vax 编程辅助工具,已验证在win7 和winxp系统均可使用(无论是64bit还是32bit)。注意用破解的DLL覆盖原dll,路径为: (1)如果是Windows7系统: C:/Users/用户名/AppData/Local/Microsoft/VisualStudio/10.0/Extensions/Whole Tomato Software/Visual Assist X/10.7.1901.0 (2)如果是XP系统: C:/Documents and Settings/用户名/Local Settings/Application Data/Microsoft/VisualStudio /10.0/Extensions/Whole Tomato Software/Visual Assist X/10.7.1901.0

2015-03-20

中科大2006-2014年计算机复试机试题

本人是14年考入中科大的计算机研究生。这里面有我做的2006-2014年的全部机试题的代码。 奉献给大家。

2014-09-12

合工大操作系统课程设计:基于内存的文件系统

首先分配一定容量的内存,建立虚拟磁盘; 在该磁盘上建立相应的文件系统; 为该文件系统设计相应的数据结构来管理目录、虚拟磁盘的空闲空间、已分配空间等。 提供文件的创建、删除、移位、改名等功能。 提供良好的界面,可以显示磁盘文件的状态和空间的使用情况; 提供虚拟磁盘转储功能,可将信息存入磁盘,还可从磁盘读入内存; 完全实现了上面的功能,验收的时候老师给了“优”

2013-07-07

北方民族大学试卷(软件工程)

北方民族大学试卷,2010的软件工程导论期末试卷,不容错过哦!

2013-06-10

飞鸽传书简化版代码

一个自己DIY的飞鸽传书JAVA程序,在Eclipse上可以完美的运行,没有任何错误。是课程设计或者毕业设计的最佳选择。4分物超所值。

2013-05-04

合工大单片机考试试卷

合工大单片机考试考试,内部资料,考试和考研最佳选择

2013-04-18

北大ACM答案

不多说,物廉价美,会对你的编程技术大有提高

2013-04-13

数据结构之迷宫游戏课程设计

适合用于课程设计,代码详尽,有图有真相,能够在VC上直接运行

2013-04-13

编译原理课程设计精华合集

有编译原理课程设计的大部分程序的报告,比如递归下降子程序,SLR(1)文法,算法优先表的构造,词法分析,还有算法优先分析的可视化程序.绝对物超所值!

2012-12-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除