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

Post New Answer

More General Aptitude Interview Questions

The Longest River in the World____________

11 Answers  


A invests $12000, B invests $8000, C invests $6000 and they got a profit of $1200. How much share A got more than B and C?

0 Answers   BPCL Bharat Petroleum, Sonata,


Find the hypotaneous of a right angle isosceles triangle whose area is 50.

0 Answers   COSL,


If P=Total number of components, Q = number of defective components .What is the % of non defective components?

0 Answers   TATA,


I can get the placements for sunera tech for aptitude

1 Answers  






Find the product of the prime numbers between 1-20

0 Answers   Accenture,


0, 7, 26, 63, 124, __

4 Answers   Geometric Software, Godrej, Infosys,


The area of the maximum size of the circle described from the 10 square inch square?

0 Answers   Hexaware,


Given the length of the 3 sides of a triangle.Find the one that is impossible? (HINT : sum of smaller 2 sides is greater than the other one which is larger)

0 Answers   Accenture, BSNL,


How will you manage the job after marriage? Its a transferable job.

3 Answers   IBM,


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

1 Answers   CSC,


Which of the following equations has a root in common with x2 - 6x + 5 = 0?

4 Answers   TCS,


Categories