What will be the worst case time complexity of finding the sum of elements in a given range of (l,r) in an array of size
Posted: Wed Jul 13, 2022 7:41 pm
a) O(n)
b) O(l+r)
c) O(√n)
d) O(r-l)
b) O(l+r)
c) O(√n)
d) O(r-l)
Accurate answers. Every time.
https://answerhappy.com/