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
How do I enable java in safari?
What is Mutex (Mutual Exclusion Object) ?
Is there any case when finally will not be executed?
Can a static class implement an interface?
What are the advantages of autoboxing?
How do you get the length of a string in java?
What is the point of polymorphism java?
What is the use of callablestatement?
What is functional interface in java example?
What do you mean by access modifier?
What is method overloading in JAVA? Why is it not present in C ?
How is a structure different from array ?
Can Exception handling we can handle multiple catch blocks?
Explain about the main() method in java?
Tell me about your ability to work under pressure