1.

What is the time complexity of Kadane’s algorithm?$

A. O(1)
B. O(n)
C. O(n<sup>2</sup>)
D. None of the mentioned
Answer» B. O(n)


Discussion

No Comment Found