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
During a trip to a wildlife safari, 29 tourists clicked photographs of tigers, 21 clicked photos of elephants, 26 clicked photos of deer; 14 clicked photos of elephants and deer, 12 clicked photos of tigers and elephants, 15 clicked photos of deer and tigers, and 8 clicked photos of all the three animals. Each tourist took at least one photograph. 1. How many tourists went to the wildlife safari? 2. How many tourists clicked photographs of tigers only?
if f(x)=1/x**2 , then f(f(f(x)))
What is the value of 15^2- 14^2 + 13^2- 12^2........-2^2+ l^2? 1.225 2.265 3.120 4.125
A solid cube of each side 8cms, has been painted red , blue , black on pairs of opposite faces.It is then cut into cubical blocks of each side 2cms.
3 angles or 3 sides r given. Which will form a triangle?
From 7:00 AM to 11:00 AM it rained 2.25 inches. At 11:00 AM the rain increased to fall at a rate of 1.25 in. every two hours. How many inches of rain landed on the ground by 5:00 PM?
Least no. when divide by 7 gives remainder 6, 6 gives 5, 5 gives 4 and so on ?
7 Answers ABC, AGS, AGS Health, FirstSource, Geometric Software, Marketing, Mylan, TCS,
The LCM of two numbers is 2079 and their HCF is 27. If one of the numbers is 189, find the other number. (a) 248 (b) 128 (c) 297 (d) 336 (e) None of these
What will you do after 5 years?
Five trays cost is 0.35 each and dozen-----
a block of ice floats on water in a beaker, as the ice melts,the water level in the beaker will
What is the average candidates who appeared from state q during the given years?