/AP_Libs

Advanced Programming course libraries

Primary LanguageCMIT LicenseMIT

AP_Libs Codacy Badge

Some libraries for the Advanced Programming exam in Tongji University (Shanghai), but are good for every Advanced Programming course or to know how to use some ADTs for personal interest.

There are:

  • linked lists
  • stacks
  • queues
  • hash tables
  • sorting algorithms

Everything is tested and actually works. Hope that the comments help you understanding the code. If you need to change the data type (obviously if it is a number or char type) change the typedef int ADT_type which is in the first lines of every .h file to typedef _value_you _want_ ADT_type. If it is a string you need to add the memory allocation for the strings.

All the libraries are released under MIT license, so have fun!