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
Which collection is thread safe in java?
What is keyset in java?
What are new features introduced with java 8 ?
I want to persist data of objects for later use. What’s the best approach to do so?
What is meant by local variable and instance variable?
What is the latest version of java?
How can you traverse a linked list in java?
Can memory leak happen java?
Difference between character constant and string constant in java ?
What is substring 1 in java?
how to open and edit XML file in Weblogic???
What is string builder?
Can we define constructor in inner class?
What is the static method?
Write a java program to print fibonacci series?