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
How do you find the index of an element in an arraylist?
Does arraylist guarantee insertion order?
Which is better merge sort or quick sort?
Define linked lists?
Can you have an arraylist of arrays?
What is the best data structure and algorithm to implement cache?
Which is faster arraylist or hashmap?
Is unordered_map a hash table?
Suppose in an integer array, there is 1 to 100 number, out of one is duplicate, how to find?
What are the advantage of collection classes over arrays?
What are all the classes and interfaces that are available in the collections?
Design a datastructure to represent the movement of a knight on a chess board
What things you would care about to improve the performance of application if its identified that its db communication that needs to be improved?
What is the difference between collection and collections?
What is 2 dimensional linked list?