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

what is synchronization and why is it important? : Java thread

0 Answers  


What is flag in java?

0 Answers  


Why are generics used?

0 Answers  


give an example for encapsulation?

0 Answers   Aspire,


What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


what is overloading and overriding with example?

2 Answers   CMC,


What is the default value of the local variables?

0 Answers  


Is null false in java?

0 Answers  


where u use Abstraction and Interface in real time

3 Answers   Sonata,


What are the types of java languages?

0 Answers  


What are the advantages of java inner classes?

0 Answers  


What is the public method modifier?

0 Answers  


Categories