...
Question 10429 – Algorithms
February 13, 2024
Question 14316 – Algorithms
February 13, 2024
Question 10429 – Algorithms
February 13, 2024
Question 14316 – Algorithms
February 13, 2024

Question 10435 – Algorithms

where O(n) stands for order n is:

Correct Answer: F

Question 36 Explanation: 

⇒ In this ‘n’ is constant. So, n is added to n times itself which is O(n2).
Hence, (a) is wrong. And rest (B), (C), (D), (E) are correct.
A
O(n)
B
O(n2)
C
O(n3)
D
O(3n2)
E
O(1.5n2)
F
B, C, D and E
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!