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
What are the different types of linked list?
Why do we need searching algorithms?
What are the difference between arraylist and linkedlist from the perspective of sorting?
What is default size of hashmap?
Is arraylist fail fast?
Which is better selection or bubble sort?
How treemap orders the elements if the key is a string?
What is circular linked list?
Is duplicate allowed in hashmap?
Mention for which header list, you will found the last node contains the null pointer?
By Which algorithm, the 8 queens problem is solved?
What is a 2 dimensional array?
What is the time complexity of arraylist and linked list?
Do you know what is linear search?
How do you find the length of an arraylist?