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
What invokes a thread's run() method in java programming?
What is this keyword in java?
What is difference between variable declaration and definition?
What is the difference between JDBC 1.0 and JDBC 2.0?
What is the major advantage of external iteration over internal iteration?
What are the main concepts of oops in java?
Explain the public class modifier?
Can we override constructor in java?
How do you check if a string is lexicographically in java?
What does %d do in java?
Explain about exception propagation?
Explain inner classes ?
Explain listiterator and methods in listiterator?
Which methods are used during serialization and deserialization process?
How do you write methodology?