If I have 1000 objects and my requirement is to sort them
quickly, then which collection would you recommend and why?
Answer Posted / shankar
quick.it has the least time complexity and with the help
of pivot elements it gets sorted vvery easily.the time
complexity is log2n
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Does java vector allow null?
Define max and min heap, also the search time of heap.
What is the finalize method do?
What is api in java?
Can we override private constructor in java?
What class of exceptions are generated by the java run-time system?
What is append function?
Explain different types of wrapper classes in java?
Can constructor be static or final?
How many threads can I run java?
How to run a JAR file through command prompt?
What is static data type in java?
What is length in java?
How to create com object in Java?
What is the difference between a synchronized method and a synchronized block?