2018-07-13 23:42:46 +08:00
|
|
|
# Algorithm and data structures
|
|
|
|
>Notes and codes for learning algorithm and data structures :smiley:
|
2018-07-11 19:26:24 +08:00
|
|
|
|
2018-07-13 23:42:46 +08:00
|
|
|
Some pictures and idead are from `<<Introduction to Algotithm>>
|
2018-07-11 19:41:35 +08:00
|
|
|
|
2018-07-13 23:42:46 +08:00
|
|
|
I use python 3.6+ and c++ to implements them.
|
|
|
|
Since I used f-Strings in python, you may use python 3.6+ to run the following python scripts.
|
2018-07-11 19:41:35 +08:00
|
|
|
|
2018-07-13 23:42:46 +08:00
|
|
|
>>I am still learning new things and this repo is always updating.
|
|
|
|
Some scripts may have bugs or not be finished yet.
|
2018-07-11 19:26:24 +08:00
|
|
|
|
2018-07-13 23:42:46 +08:00
|
|
|
# Notice
|
|
|
|
Currently, Github can't render latex math formulas.
|
|
|
|
So,if you wannt to view the notes which contains latex math formulas and are in markdown format, you can visit [my blog](https://mbinary.coding.me)
|
|
|
|
|
|
|
|
# index
|
2018-07-11 19:26:24 +08:00
|
|
|
* [.](.)
|
2018-07-11 19:44:09 +08:00
|
|
|
* [notes](./notes)
|
|
|
|
* [alg-general.md](./notes/alg-general.md)
|
|
|
|
* [hashTable.md](./notes/hashTable.md)
|
|
|
|
* [README.md](./notes/README.md)
|
|
|
|
* [sort.md](./notes/sort.md)
|
|
|
|
* [tree.md](./notes/tree.md)
|
2018-07-14 18:36:10 +08:00
|
|
|
* [red-black-tree.md](./notes/red-black-tree.md)
|
2018-07-11 19:44:09 +08:00
|
|
|
* [algorithm](./algorithm)
|
|
|
|
* [8Astar.py](./algorithm/8Astar.py)
|
|
|
|
* [cantor.cc](./algorithm/cantor.cc)
|
|
|
|
* [EIGHT.py](./algorithm/EIGHT.py)
|
|
|
|
* [manacher.py](./algorithm/manacher.py)
|
|
|
|
* [markov.py](./algorithm/markov.py)
|
|
|
|
* [README.md](./algorithm/README.md)
|
|
|
|
* [sort](./algorithm/sort)
|
|
|
|
* [sunday.py](./algorithm/sunday.py)
|
|
|
|
* [dataStructure](./dataStructure)
|
|
|
|
* [allOone](./dataStructure/allOone)
|
2018-07-14 18:36:10 +08:00
|
|
|
* [redblack tree.py](./dataStructure/redBlackTree.py)
|
2018-07-11 19:44:09 +08:00
|
|
|
* [binaryHeap.py](./dataStructure/binaryHeap.py)
|
|
|
|
* [binaryIndexedTree.cc](./dataStructure/binaryIndexedTree.cc)
|
|
|
|
* [binaryTree.py](./dataStructure/binaryTree.py)
|
|
|
|
* [hashTable.py](./dataStructure/hashTable.py)
|
|
|
|
* [huffman.cc](./dataStructure/huffman.cc)
|
|
|
|
* [leftHeap.py](./dataStructure/leftHeap.py)
|
|
|
|
* [loserTree.py](./dataStructure/loserTree.py)
|
|
|
|
* [map](./dataStructure/map)
|
|
|
|
* [README.md](./dataStructure/README.md)
|
|
|
|
* [segTree.cc](./dataStructure/segTree.cc)
|
|
|
|
* [splayTree.py](./dataStructure/splayTree.py)
|
|
|
|
* [stack](./dataStructure/stack)
|
|
|
|
* [trie.py](./dataStructure/trie.py)
|
|
|
|
* [winnerTree.py](./dataStructure/winnerTree.py)
|