Which data structure is Best for library management system wheater Tree or Linked list?

1 answer

Answer

1120007

2026-05-14 19:26

+ Follow

It depends on what you intend to do with the data. The assumption is the data is dynamic, the number of elements are not known in advance. Binary trees are best if you want to sort the data as it is entered. Linked lists are best if you simply want a list of sequential data, or need to implement a stack or a queue.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.