Explanation: the time complexity of kadane’s algorithm is o(n) because there is only one for loop which scans the entire array exactly once.
Q. What is the time complexity of Kadane’s algorithm?
β
Correct Answer: (B)
o(n)
Explanation by: Mr. Dubey
the time complexity of kadane’s algorithm is o(n) because there is only one for loop which scans the entire array exactly once.
Discussion
Question Analytics
1006
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
96%
Success Rate