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

What invokes a thread's run() method in java programming?

1133


What is this keyword in java?

990


What is difference between variable declaration and definition?

920


What is the difference between JDBC 1.0 and JDBC 2.0?

3132


What is the major advantage of external iteration over internal iteration?

1045


What are the main concepts of oops in java?

1636


Explain the public class modifier?

904


Can we override constructor in java?

1046


How do you check if a string is lexicographically in java?

914


What does %d do in java?

993


Explain about exception propagation?

986


Explain inner classes ?

1083


Explain listiterator and methods in listiterator?

968


Which methods are used during serialization and deserialization process?

952


How do you write methodology?

927