1.

In order to access any element of an array if the position of element is known , Time complexity will be equal to _________.

A. O(n2)
B. O(n)
C. O(n-1)
D. O(1)
Answer» E.


Discussion

No Comment Found