Find the longest palendrom in a string?
Example
Input: abfgerccdedccfgfer
Output: ccdedcc
i want a solution in C/C++ language
No Answer is Posted For this Question
Be the First to Post Answer
There are 6561 cricket balls out of them 1 is heavy. Find the minimum no. of times the cricket balls have to be weighed for finding out the heavy ball.
Number Series 19,24,20,25,21,26,?
How can i write fast in bank clerical exam? Especially Arithmetic and Reasoning questions? pls suggest me?
SEND + MORE = MONEY. Then what is the value of M + O + N + E + Y ?
in early medevial india what did the term jital refer to
Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6 races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth, six points for third, eight points for second, and ten points for first. If Eugene finishes two places ahead of Chris in the first race, all of the following will be true EXCEPT: a) Bob finishes ahead of Don. b) Chris finishes two places ahead of Alan. c) Don finishes fourth. d) Bob finishes immediately behind Eugene. e) Chris finishes ahead of Bob. 2) Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6 races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth, six points for third, eight points for second, and ten points for first. If Don finishes third in the third race, which of the following must be true of that race? a) Alan finishes first. b) Eugene finishes first. c) Bob finishes second. d) Chris finishes second. e) Alan finishes fifth. 3) Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6 races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth, six points for third, eight points for second, and ten points for first. If Eugene's total for the six races is 36 points, which of the following must be true? a) Bob's total is more than 36 points. b) Chris's total is more than 36 points. c) Alan's total is 36 points. d) Don's total is less than 36 points. e) Don's total is 36 points. 4) Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6 races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth, six points for third, eight points for second, and ten points for first. If Alan finishes first only once, and Don finishes second exactly twice, the lowest total number of points that Bob can earn in the race is: a) 32 points. b) 38 points. c) 40 points. d) 44 points. e) 48 points. 5) Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6 races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth, six points for third, eight points for second, and ten points for first. If Alan finishes first in four races, which of the following could earn a total of fewer than 26 points in the six races? a) Bob only. b) Chris only. c) Don only. d) Eugene of Chris. e) Don or Chris. 6) Five racing drivers, Alan, Bob, Chris, Don, and Eugene, enter into a contest that consists of 6 races. The results of all six races are listed below: Bob always finishes ahead of Chris. Alan finishes either first or last. Eugene finishes either first or last. There are no ties in any race. Every driver finishes each race. In each race, two points are awarded for a fifth place finish, four points for fourth, six points for third, eight points for second, and ten points for first. If Frank enters the third race and finishes behind Chris and Don, which of the following must be true of that race? a) Eugene finishes first. b) Alan finishes sixth. c) Don finishes second. d) Frank finishes fifth. e) Chris finishes third.
Numerical Ability Problems on ages,problems on trains,time and work,pipes and cisterns....
1 Answers Kumaran Systems, RRB, TCS,
A car travels from B at a speed of 20 km/hr. The bus travel starts from A at a time of 6 A.M. There is a bus for every half an hour interval. The car starts at 12 noon. Each bus travels at a speed of 25 km/hr. Distance between A and B is 100 km. During its journey , The number of buses that the car encounter
The sum of the series 1 + 1(1+1/n) + 3(1+1/n)2 + ..... is equal to?
The first United States Solicitor General, Benjamin H. Bristow, __________________________ was born in 1832 and served in the Grant administration from 1874 to 1876. Earlier in his life, Bristow served as a lieutenant colonel in the 25th Kentucky Infantry was born in 1832 and had served in the Grant administration from 1874 to 1876. Earlier in his life, Bristow served as a lieutenant colonel born in 1832 and served in the Grant administration from 1874 to 1876. Earlier in his life, Bristow had served as a lieutenant colonel in the 25th Kentucky Infantry born in 1832 and appointee in the Grant administration from 1874 to 1875. Earlier in his life, Bristow served as a lieutenant colonel in the 25th Kentucky Infantry
A store owner is packig small radios into larger boxes that measure 25in. by 42in. by 60in. If the measurement of each radio is 7in. by 6in. by 5in then how many radios ca be placed in the box?
Argentina had football team of 22 player of which captain is from Brazilian team and goalki from European team. For remainig palayer they have picked 6 from argentinan and 14 from european. Now for a team of 11 they must have goalki and captain so out of 9 now they plan to select 3 from rgentinian and 6 from European. Find out no. of methods avilable for it.