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


Please Help Members By Posting Answers For Below Questions

What is the basic concepts of OOPS?

689


What is an example of a boolean?

570


How many types of java are there?

559


Is string is a class in java?

525


What is the difference between equals() and?

589






Why set do not allow duplicates in java?

581


What is the difference between an interface and an abstract class?

540


Can you start a thread twice in Java?

633


What is Garbage Collection in Java

611


What defines function?

542


Is jdk required on each machine to run a java program?

751


Can a final variable be null?

547


How use .contains in java?

624


Why is logger singleton?

564


What is the difference between array and array list in java?

607