- 博客(5)
- 资源 (5)
- 收藏
- 关注
原创 Practice_5: Adjacent List Graph
ONLY read data from file; e.g.3 20 1 90 2 101 0 92 0 10-1 -1 -1 //end lineMISS class List; ONLY realize adjacent list;Some data is redundent;Just practice; fight on !! class EdgeNode{ //edge node public: int keyVal; int weight; EdgeNode* next; Ed
2011-03-13 08:59:00 561
原创 Practice_4: BST class
//missing some definition here class BSTree: protected Tree{ protected: TreeNode* FindMin(TreeNode* head, TreeNode** gp); TreeNode* FindMax(TreeNode* head, TreeNode** gp); void DFS(TreeNode* head); public: BSTree():Tree(2){ } ~BSTree(); bool
2011-03-13 04:17:00 389
原创 Practice_3: heap class
//missing definition here; class Heap { //from index 0 protected: int capacity; int current; ElementType* heap; int type; //min 0 or max 1, default min void PercolateUp(int i); void PercolateDown(int i); public: Heap(int num, int minOrMax
2011-03-13 04:07:00 335
原创 Practice_2: sorting
<br />#include <cstdio> #include <cstdlib> #define leftChild(i) (2*(i)+1) //from index 0 void BubbleSort(int L[], int len); void SeletionSort(int L[], int len); void MergeSort(int L[],int m, int n); void QuickSort(int L[],int l, int r); void Countin
2011-03-11 04:08:00 402
原创 Practice_1: binary search
#include int binarySearch(int L[], int len, int target){ int left = 0, right=len-1, mid; while(left L[mid]) left = mid + 1; else{ return mid; } } return -1; } int binarySearch1(int L[], int left, int right, int target){ int mid
2011-03-10 08:50:00 294
Data Mining--Concepts and Techniques(1e,Morgan Kaufmann,Elsevier,2000) 中文版
2009-11-09
VC._NET开发驱动程序详解
2009-10-19
AD1674中文资料+英文资料(PDF格式)
2009-08-08
AD9851英文资料+中文版
2009-08-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人