原创 Xkeyideal賜教取經之路
1、以字符串、二分、二叉樹、大數據、一些技巧性算法爲主 2、而且千萬記住的是要規範自己的編程規範,面試手寫代碼不比做acm,指針判空等,對於一些字符串 二叉樹的題目要敢於使用指針 3、以前寫二分扣分點:接口糾正(int find (int
原创 判斷B樹是否是A的子樹
#include <iostream> #include <cstdio> #include <cstring> #include <stdlib.h> using namespace std; #define M 1001 typede
原创 遞增數列中找和爲s乘積最小的兩個數
#include<cstdio> void getSumKPair(int *arr, int n, int k, int &a, int &b) { int nLow, nHigh; long long product
原创 C語言基礎筆試面試題
http://www.mianwww.com/?p=12903 16、||運算原理 39、extem、register、static、auto分別是定義外部變量、寄存器變量、靜態變量、自動變量,其中,自動變量和寄存器變量屬於動態存儲,調
原创 git命令
http://justcoding.iteye.com/blog/1830388
原创 二叉樹的最低公共祖先(劍指offer)
#include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> #include <list> using namespace std; #defin
原创 個人版雙向鏈表的操作
#include <iostream> #include <cstdio> #include <assert.h> #include <malloc.h> using namespace std; typedef struct node
原创 C++學習筆記---利用對象、引用、指針調用虛函數
虛函數總結: 虛函數只能是類成員函數,它在基類體內部說明,目的是提供一種接口界面; 虛函數不能是友元函數(即非成員函數),也不能是靜態成員函數,因爲虛函數調用要靠特定的對象來決定該激
原创 希爾排序
package com.yunix.shellSort; import java.util.Random; public class Sort { /** * 希爾排序也是一種插入排序方法,實際上是一種分組插入方法 * 先
原创 C++之運算符重載
http://www.cnblogs.com/CaiNiaoZJ/archive/2011/08/12/2136598.html
原创 c++中const使用詳解
http://blog.sina.com.cn/s/blog_4a41aeb80100ylpr.html
原创 非遞減合併兩個有序單鏈表
#include <iostream> #include <cstdio> #include <stdlib.h>//malloc函數頭文件 using namespace std; typedef struct Node { i
原创 字符串的組合[算法]
http://zhedahht.blog.163.com/blog/static/2541117420114172812217/ 點贊 收藏 分享 文章舉報 Weiguan
原创 不用加減乘除做加法
#include <iostream> #include <cstdio> #include <cstring> #include <stdlib.h> using namespace std; #define M 1001 int ju