A list is ordered from smaller to largest when a sort is
called. Which sort would take the longest time to execute?
Answer Posted / rahul
Bubble Sort cannot be the answer, Because the MODIFIED BUBBLE SORT takes complexity of O(n) when the elements are arranged in a particular order..
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is hashmap faster than treemap?
How do you find the length of an arraylist?
Which sorting is best?
Can you provide some implementation of a dictionary having large number of words?
Why is null not allowed in concurrenthashmap?
How do I start preparing for placement?
What is the use of isEmpty() member methods?
Define degree of the node?
If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?
Define secondary clustering?
How do you declare An array of three char pointers
Is an arraylist an object?
Does hashmap maintain insertion order?
How can a binary tree be represented using the rotation?
Which is the fastest sorting?