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

Answer Posted / pavan

If the Data structures that we are sorting are big and
located at different places then I prefer sorting pointers
rather than data itself

Is This Answer Correct ?    39 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the postfix form of the expression: (a + b) * (c - d)

602


What are common data structures?

591


What do you mean by data and data structure?

500


What do you mean by double hashing?

576


Explain what are the types of collision resolution techniques and the methods used in each of the type?

512






Explain merge sort algorithms.

559


What do you mean by heap order property?

597


Briefly explain recursive algorithm?

625


Which sorting is best in time complexity?

475


How do you separate zeros from non-zeros in an array?

522


What the principle of quick sort and its complexity?

545


Can we put null key in hashmap?

490


What is difference between hashmap and hashset?

465


What is the advantage of the heap over a stack?

579


Why use a tuple instead of a list?

458