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
What is the difference between choice and list?
How do I stop concurrentmodificationexception?
What is the difference between sleep and wait in java?
Can inner class extend any class?
Can we rethrow the same exception from catch handler?
How to provide security in java
Is null keyword in java?
Give example to differentiate between call by value and call by reference.
Give a practical example of singleton class usage?
Write an algorithm for quick sort?
What variables are stored in stack?
Give me some null interfaces in java?
If a method is declared as protected, where may the method be accessed in java programming?
What are classloaders?
How do you replace a string in java?