Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How would you obtain segment and offset addresses from a far address of a memory location?

1080


What is the difference between structures and unions?

1064


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1111


When can I use a forward declaration?

1104


Why c++ is created?

1006


What is data hiding c++?

1046


Is c++ a difficult language?

1127


Why is standard template library used?

1056


What is a memory leak c++?

1140


How does class accomplish data hiding in c++?

1182


What is the best way to declare and define global variables?

1335


Why was c++ made?

1108


What is the use of setfill in c++?

1079


Is atoi safe?

1054


What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

1163