When will you sort an array of pointers to list elements,
rather than sorting the elements themselves?

Answer Posted / basav (shiv shankar)

It can be used when we store data elements at the bottom.
i.e., while storing data/records at the leaf level. Here we
generally store pointers in nodes in sorted order to make
sure the linear order of records.
Example, B+ trees.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why boundary tag representation is used?

520


What is dynamic data structure?

721


What is weight balanced tree in data structure?

478


Can map contain duplicate keys?

467


What is subtree?

530






What are the different types of collections?

497


Differentiate between failfast and failsafe.

688


Can we store null in arraylist?

473


Which language is best for data structures?

522


Differentiate between collection and collections.

613


Define the queue data structure.

518


Is red black tree balanced?

507


What you mean by sorting?

506


What are the types of linked list?

512


What are the major data structures used in the following areas : network data model & hierarchical data model?

588