本人用C++实现的数据结构和算法,带有相应的测试。
目前已实现的数据结构和算法
- vector
- single linked list
- double linked list
- sorted linked list
- queue
- array implementation
- linked list implementation
- stack
- array implementation
- linked list implementation
- binary max heap
- array implementation
- linked list implementation
- binary search tree
- avl tree
- splay tree
- prefix tree
- hash table
- closed addressing
- open addressing
- adjacency list
- directed graph
- undirected graph
- adjacency matrix
- directed graph
- undirected graph
- adjacency multi list
- undirected graph
- orthogonal list
- directed graph
- bubble sort
- bucket sort
- counting sort
- heap sort
- insert sort
- merge sort
- quick sort
- radix sort
- select sort
- shell sort
- fibonacci
- top down
- bottom up
- breadth first search
- depth first search
Data Structure and Algorithm is distributed under the terms of the GNU GENERAL PUBLIC LICENSE (Version 3). See LICENSE for details.