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

explain what is transient variable in java?

1057


What are "class access modifiers" in Java?

1052


What are "methods" and "fields"?

966


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

922


Can we cast any other type to boolean type with type casting?

892


What is lexicographically smallest string?

1015


What are the Main functions of Java?

1050


Is node a data type in java?

940


What is derived datatype?

1144


What are the types of arrays in java?

1021


How can I right-justify a string?

1091


What is regex java?

1021


How do you declare a destructor in java?

926


What is data structure in java?

932


What are the difference between string, string builder, and string buffer in java?

1069