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 doubly linked lists?
How can you represent a linked list node?
How do you find a string is anagram or not?
Can arraylist have duplicates?
Why do we use arrays?
What is a vector class?
How do you sort an array in decreasing order?
What is data structure explain different types of data structures with examples?
What is a data structure? What are the types of data structures?
What is the meaning of arraylist?
How do you search for a target key in a linked list?
What do you mean by shortest path?
What is an ordered map?
What is difference between treeset hashset linkedhashset?
What do you mean by sorting data?