Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ziyi2/data-structure-algorithm-procedure

学习数据结构和算法。
https://github.com/ziyi2/data-structure-algorithm-procedure

alogrithms data-structures procedure

Last synced: 2 months ago
JSON representation

学习数据结构和算法。

Awesome Lists containing this project

README

        

# 数据结构和算法

## 数据结构
- [列表](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/List.js)
- [栈](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Stack.js)
- [队列](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Queue.js)
- [链表](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Link.js)
- [散列](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Hash.js)
- [集合](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Set.js)
- [二叉树](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Tree.js)
- [图](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Graph.js)

## 排序
- [冒泡排序](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/BubbleSort.js)
- [选择排序](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/SelectionSort.js)
- [插入排序](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/InsertionSort.js)
> 在排序数据较多时,插入排序最快,选择排序第二,冒泡排序最慢。

## 高级排序
- [希尔排序](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/ShellSort.js)
- [归并排序](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/MergeSort.js)
- [快速排序](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/QuickSort.js)

## 检索
- [顺序(线性)查找](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/SeqSearch.js)
- [二分查找](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/BinSearch.js)

## 高级算法
- [动态规划](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Dynamic.js)
- [贪心算法](https://github.com/ziyi2/data-structure-algorithm-procedure/blob/master/src/Greedy.js)

## 参考资料
- [JavaScript Algorithms and Data Structures](https://github.com/trekhleb/javascript-algorithms)