Algorithm
sunnyyouknow
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Merge Sort
/*//implement recursivelyint mgSort( const void *data, int size, int esize, int i, int k, int (*comp) (const void *a, const void *b) );//merge 2 sequential partstatic int merge( const void *da原创 2013-06-25 12:00:56 · 440 阅读 · 0 评论 -
Search the Nth element of Level M in a binary tree
// binTreeMN.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include using namespace std;struct Node{ int val; Node *lChild; Node *rChild原创 2013-06-26 21:24:35 · 400 阅读 · 0 评论 -
Quick Sort
// qkSort.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include using namespace std;static compare_int(const void *key1原创 2013-06-26 13:24:07 · 439 阅读 · 0 评论 -
Radix Sort
// RadixSort.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include #include #include using namespace std;int rxSort(int *data,原创 2013-06-29 23:24:50 · 578 阅读 · 0 评论 -
implement of sqrt without using stdlib
/** binary search using */// sqrt.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #include using namespace std;double mySqrt(d原创 2013-07-11 21:30:45 · 440 阅读 · 0 评论 -
Texture Synthesis
/*Reference:Texture synthesis by non-parametric sampling.pdfhttp://en.wikipedia.org/wiki/Texture_synthesisPotential applications: A successful texture synthesis algorithm's application is abroad原创 2013-09-10 17:14:49 · 774 阅读 · 0 评论
分享