Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?

1048


What are the parts of methodology?

977


What does i ++ mean in Java?

958


What is double parsedouble in java?

1053


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1241


Explain differences between collection api and stream api?

1188


Explain treeset?

1116


Define interface in java?

1087


What is difference between core java and java ee?

904


How does compareto work in java?

1043


What is the purpose of the system class in java?

1049


How to change the priority of thread or how to set priority of thread?

1031


Where to store local variables?

1107


What is sorting in java?

992


Where are global variables stored?

959