## 20. What is the Big-O time complexity for an algorithm to display the nth integer in an array of integers? a. O(n) b. O(n2) c. O(log n) d. O(1)

EXPERT ANSWER What is the Big-O time complexity for an algorithm to display the nth integer in an array of integers? O(n) O(n2) O(log n) O(1)