Which data structure is typically used for managing hierarchical relationships, like a file system?

  • Linked List
  • Queue
  • Stack
  • Tree
A tree data structure is commonly used for managing hierarchical relationships, such as in a file system. It allows for efficient organization and retrieval of data with a hierarchical structure, where each node has a parent-child relationship.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *