This article reprinted to http://blog.csdn.net/zhangkongzhongyun/article/details/8080466Category: C language 2012-10-17 11:16 275 people read Comments (0) favorite reports Algorithm Google
Written in front of a number of sorts, red and black trees, B-tree algorithm of the article, and left to find this chunk did not write, find the relevant algorithm code has been implemented, but did not write the search algorithm to log the leisure, had to first put out the code here, after there is plenty of leisure time to fill it.
Algorithmic code for Google Warehouse: Click here
Completed algorithm
Sort
- Insert Sort
- Hill sort
- Bubble sort
- Quick Sort
- Select sort
- Heap Sort
- Merge sort
- Count sort
- Barrels/carton sorting
- Base sort
Find
- Sequential Lookup
- Two-point Search
- Block sort
- Hash Lookup
- Binary Tree Lookup
Tree
- Binary search Tree
- B-Tree
- Red and black Trees
Common sort, find, tree algorithm collection