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...


Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

what are the steps for creating prompt table dynamically for the specified field

0 Answers  


Define distributed queries. can you explain me as soon as possible

0 Answers   HCL,


in a company 30% are supervisors and 40% employees are male if 60% of supervisors are male. what is the probability that a randomly choosen employee is a male or female?need steps to solve this?

1 Answers   TCS,


what is apt_dump_score in datastage where it is useful

0 Answers   Accenture,


Write a pascal program to calculate the sum of the first 100 even number and odd number

0 Answers  


in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?

0 Answers   Sacred Heart College,


Explain the types of operations? Draw the figure for shift and rotate operations?

0 Answers  


How many types of list exist in the HTML

2 Answers  


can we extend a class having only one parameterised constructor.Suggest the process to do it.

0 Answers   Zensar,


I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...

0 Answers  


Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod

0 Answers  


what are the missinschema properties and should we pass primary key in select command

0 Answers  


Categories