Friday, August 12, 2016

What are the major data structures used in the following areas?

  1. RDBMS = Array (i.e. Array of structures)
  2. Network data model = Graph
  3. Hierarchical data model = Trees
  4. BFS = Queue
  5. DFS = Stack, DFS can also be implemented using recursion 

In RDBMS, what is the efficient data structure used in the internal storage representation?
B+ tree. Because in B+ tree, all the data is stored only in leaf nodes, that makes searching easier. This corresponds to the records that shall be stored in leaf nodes.

No comments:

Post a Comment