├── .gitignore ├── AC ├── README.md ├── api │ ├── cli-test.php │ ├── machinePatrol.php │ └── test.php ├── assets │ └── mac.png ├── auto-test.sh ├── make │ └── Makefile ├── run.sh ├── src │ ├── Makefile │ ├── ac_mf.h │ ├── acmf.c │ ├── acsmx.c │ ├── acsmx.h │ ├── control.sh │ ├── entry.c │ ├── gunittest.cc │ ├── util.c │ └── util.h └── test │ ├── gpl.txt │ ├── ir.htm │ └── simple.txt ├── README.md ├── c ├── atoi.c ├── fib.c ├── list.c └── yang-hui.c ├── event ├── block-http-client.c ├── low-level-rot13-sever.c └── note.c ├── golang └── random-pack │ └── main.go ├── other ├── combination.c ├── db_model.c ├── errno-msg.c ├── func_args.c ├── md5.c ├── random_hex.c ├── shift_bit.c ├── strftime.c ├── struct.c └── typedef-enum.c ├── php ├── Flexihash.php ├── inter.php ├── monkey.php ├── qsort.php └── send-red-pack.php └── tree ├── Makefile ├── binary-tree.c ├── bitree.c ├── bitree.h ├── common.h └── search-tree.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/.gitignore -------------------------------------------------------------------------------- /AC/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/README.md -------------------------------------------------------------------------------- /AC/api/cli-test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/api/cli-test.php -------------------------------------------------------------------------------- /AC/api/machinePatrol.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/api/machinePatrol.php -------------------------------------------------------------------------------- /AC/api/test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/api/test.php -------------------------------------------------------------------------------- /AC/assets/mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/assets/mac.png -------------------------------------------------------------------------------- /AC/auto-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/auto-test.sh -------------------------------------------------------------------------------- /AC/make/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/make/Makefile -------------------------------------------------------------------------------- /AC/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/run.sh -------------------------------------------------------------------------------- /AC/src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/Makefile -------------------------------------------------------------------------------- /AC/src/ac_mf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/ac_mf.h -------------------------------------------------------------------------------- /AC/src/acmf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/acmf.c -------------------------------------------------------------------------------- /AC/src/acsmx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/acsmx.c -------------------------------------------------------------------------------- /AC/src/acsmx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/acsmx.h -------------------------------------------------------------------------------- /AC/src/control.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/control.sh -------------------------------------------------------------------------------- /AC/src/entry.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/entry.c -------------------------------------------------------------------------------- /AC/src/gunittest.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/gunittest.cc -------------------------------------------------------------------------------- /AC/src/util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/util.c -------------------------------------------------------------------------------- /AC/src/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/src/util.h -------------------------------------------------------------------------------- /AC/test/gpl.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/test/gpl.txt -------------------------------------------------------------------------------- /AC/test/ir.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/test/ir.htm -------------------------------------------------------------------------------- /AC/test/simple.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/AC/test/simple.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/README.md -------------------------------------------------------------------------------- /c/atoi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/c/atoi.c -------------------------------------------------------------------------------- /c/fib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/c/fib.c -------------------------------------------------------------------------------- /c/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/c/list.c -------------------------------------------------------------------------------- /c/yang-hui.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/c/yang-hui.c -------------------------------------------------------------------------------- /event/block-http-client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/event/block-http-client.c -------------------------------------------------------------------------------- /event/low-level-rot13-sever.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/event/low-level-rot13-sever.c -------------------------------------------------------------------------------- /event/note.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/event/note.c -------------------------------------------------------------------------------- /golang/random-pack/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/golang/random-pack/main.go -------------------------------------------------------------------------------- /other/combination.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/combination.c -------------------------------------------------------------------------------- /other/db_model.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/db_model.c -------------------------------------------------------------------------------- /other/errno-msg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/errno-msg.c -------------------------------------------------------------------------------- /other/func_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/func_args.c -------------------------------------------------------------------------------- /other/md5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/md5.c -------------------------------------------------------------------------------- /other/random_hex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/random_hex.c -------------------------------------------------------------------------------- /other/shift_bit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/shift_bit.c -------------------------------------------------------------------------------- /other/strftime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/strftime.c -------------------------------------------------------------------------------- /other/struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/struct.c -------------------------------------------------------------------------------- /other/typedef-enum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/other/typedef-enum.c -------------------------------------------------------------------------------- /php/Flexihash.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/php/Flexihash.php -------------------------------------------------------------------------------- /php/inter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/php/inter.php -------------------------------------------------------------------------------- /php/monkey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/php/monkey.php -------------------------------------------------------------------------------- /php/qsort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/php/qsort.php -------------------------------------------------------------------------------- /php/send-red-pack.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/php/send-red-pack.php -------------------------------------------------------------------------------- /tree/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/tree/Makefile -------------------------------------------------------------------------------- /tree/binary-tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/tree/binary-tree.c -------------------------------------------------------------------------------- /tree/bitree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/tree/bitree.c -------------------------------------------------------------------------------- /tree/bitree.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/tree/bitree.h -------------------------------------------------------------------------------- /tree/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/tree/common.h -------------------------------------------------------------------------------- /tree/search-tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hy0kl/algorithm/HEAD/tree/search-tree.c --------------------------------------------------------------------------------