When will you sort an array of pointers to list elements,
rather than sorting the elements themselves?
Answer Posted / kumar gaurav
if the data structure is too large,and the pointers refer to
many data then if we sort pointers then,we can easily know
where to start at,it will be very beneficial,and sorting the
elements will take a much longer time,so sorting off
elements is not beneficial
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is impact of signed numbers on the memory using data structures?
Which sorting algorithm has minimum number of swaps?
Is vector synchronized?
What are the five examples of data?
Discuss the difference between a stack and an Array?
Define left-in threaded tree?
What happens if we put duplicate key in hashmap?
What is the difference between arrays sort and collections sort?
What are control structures?
Explain merge sort algorithms.
State the different types of linked lists?
What are the advantages of sorting and filtering data?
What is time complexity of bubble sort?
Write the c program to insert a node in circular singly list at the beginning.
State the rules to be followed during infix to prefix conversions?