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...

Explain Big-O notation with an example

Answer Posted / hrindows@gmail.com

The Big-O notation depicts the performance of an algorithm as the number of elements in ArrayList. A developer can use Big-O notation to choose the collection implementation. It is based on performance, time, and memory.
For example, ArrayList get(index i) is a method to perform a constant-time operation. It does not depend on the total number of elements available in the list. Therefore, the performance in Big-O notation is O(1).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I enable java in safari?

1026


What is Mutex (Mutual Exclusion Object) ?

1143


Is there any case when finally will not be executed?

949


Can a static class implement an interface?

1118


What are the advantages of autoboxing?

1017


How do you get the length of a string in java?

1000


What is the point of polymorphism java?

1009


What is the use of callablestatement?

1012


What is functional interface in java example?

983


What do you mean by access modifier?

1024


What is method overloading in JAVA? Why is it not present in C ?

1099


How is a structure different from array ?

1040


Can Exception handling we can handle multiple catch blocks?

1040


Explain about the main() method in java?

1100


Tell me about your ability to work under pressure

2191