c - Data Structure for Library Management Project -


which data structure should used library management project?

there 5 operations:

  • buy book
  • buy new copy of book
  • rent book
  • return book
  • delete copy of book

i know hash tables , avl-trees @ moment.

i started project avl, not sure if it's right choice.

it depends on want achieve(performance, extensibility, simplicity), above operations can implemented simple data structure array or linked list.

i recommand using simple data structure implement application first. when performance become problem, consider other data structures hashtable, avl tree, etc.


Comments