You're given an array containing both positive and negative
integers and required to find the sub-array with the largest
sum (O(N) a la KBL). Write a routine in C for the above.
Answer Posted / gopika
how to get O(N) for above program
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Write a recursive program to calculate factorial in c++.
What is setbase c++?
What do you mean by function and operator overloading in c++?
What is data structure in c++?
What is a local reference?
Write a struct time where integer m, h, s are its members?
Explain how functions are classified in C++ ?
What is flush () in c++?
What is the cout in c++?
What are proxy objects in c++?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
Is swift better than c++?
What do you mean by translation unit in c++?
Is map thread safe c++?
What is increment operator in c++?