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



Explain Big-O notation with an example..

Answer / 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

More Core Java Interview Questions

Is string a class?

0 Answers  


What is protected access modifier?

0 Answers  


Difference between predicate, supplier and consumer ?

0 Answers  


Is 64bit faster than 32 bit?

0 Answers  


Is there a sort function in java?

0 Answers  


How do you load an HTML page from an Applet ?

2 Answers  


Why java is said to be pass-by-value ?

0 Answers  


When will we prefer to use set and list in java and why?

0 Answers  


Explain the concept of polymorphism with examples?

6 Answers   Summation Tech,


what is bytecode ?explain in detail and watz the difference between bytecode and machine code?

6 Answers   Lucent,


What do you understand by the term string pool?

0 Answers  


What is the functionability stubs and skeletons?

0 Answers  


Categories