![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Algorithm
sunnyyouknow
这个作者很懒,什么都没留下…
展开
-
Merge Sort
/* //implement recursively int mgSort( const void *data, int size, int esize, int i, int k, int (*comp) (const void *a, const void *b) ); //merge 2 sequential part static int merge( const void *da原创 2013-06-25 12:00:56 · 394 阅读 · 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 · 348 阅读 · 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 · 399 阅读 · 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 · 527 阅读 · 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 · 389 阅读 · 0 评论 -
Texture Synthesis
/*Reference: Texture synthesis by non-parametric sampling.pdf http://en.wikipedia.org/wiki/Texture_synthesis Potential applications: A successful texture synthesis algorithm's application is abroad原创 2013-09-10 17:14:49 · 700 阅读 · 0 评论