Joe1sn / ADT

abstruct data type in Data Structure and Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文请阅读 README_zh.md

ADT

abstruct data type in Data Structure and Algorithm

a way of implementation

  • Chapter I : Basic Theory & History
  • Chapter II : Linear table
  • Chapter III : Stack & Queue
  • Chapter IV : Array & Strings
  • Chapter V : Tree & Binary tree
  • Chapter VI : Set & Searching
  • Chapter VII : Search Tree
  • Chapter IIX : Hash table
  • Chapter IX : Graph
  • Chapter X : Sort

usage

1. complie

cd ./src && make

2. linkage

linux_x64

cd ./build/
export LD_LIBRARY_PATH="$(pwd)"
cd ./test_case
gcc ./hash_table.c -std=c99 -ladt -L.. -I ../../src/include -o testcase

linux_x32

cd ./build/
export LD_LIBRARY_PATH="$(pwd)"
cd ./test_case
gcc -m32 ./hash_table.c -std=c99 -ladt -L.. -I ../../src/include -o testcase

windows_x32

cd .\build
gcc .\test_case\hash_table.c -std=c99 -ladt -L. -I ..\src\include -o testcase.exe

flaws

Supported

  • array.c
  • bt_test.c
  • dbs_bfs.c
  • hash_table.c
  • my_str.c
  • postfix_calc.c
  • prior_q.c
  • queue.c
  • seq_list.c
  • single_link_list.c
  • stack.c
  • tree.c

About

abstruct data type in Data Structure and Algorithm

License:MIT License


Languages

Language:C 98.3%Language:Makefile 1.1%Language:Python 0.6%