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

Why cout is used in c++?

1022


Is swift faster than c++?

1014


What are the uses of c++ in the real world?

1014


what is scupper?

2375


Why is c++ still popular?

1031


What is a responder chain?

1046


What is a .h file c++?

1031


What is atoi?

963


If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1491


What is time h in c++?

1130


What is cin clear () in c++?

1199


What is unary operator? List out the different operators involved in the unary operator.

981


What is the difference between structure and class?

1239


What is this weird colon-member (" : ") syntax in the constructor?

1014


What is the benefit of c++?

1116