@atul , its should be the either 1st even length palindrome or largest even 
length palindrome in question , so here we go while making problem more 
generic ,* " given a string find the largest palindrome in that string " *

So As I Coded it Some Times Back , Have a Look  
http://shashank7s.blogspot.com/2011/06/wap-to-find-largest-palindrome-in.html
also check* http://stevekrenzel.com/articles/longest-palnidrome*

Let me me know guys if anything wrong or test case mising .

Thanks
Shashank Mani 
Computer Science
Birla Institute of Technology,Mesra
*http://shashank7s.blogspot.com*

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/GPl_52gNxRYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to