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
Explain the differences between list x; & list x();.
What is a flag in c++?
Define what is constructor?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
How do I run a program in notepad ++?
Why do we use using namespace std in c++?
What is a memory leak c++?
Why c++ is so important?
What does override mean in c++?
What are the benefits of oop in c++?
What is &x in c++?
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
Discussion on error handling of C++ .
What is a list c++?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?