you its similar kind of problems Already Solve few days back please
check Previous threads. Small Modification needed in previous
solution .except cost not calculated but all possible palindrome have
been generated so hope you can try that & that will help .(Although
its slightly Different Question)

string s=radarradarradarradar

here is link  
http://shashank7s.blogspot.com/2011/03/wap-to-find-all-possible-palindromes-in.html
( m not sure it will give exact thinking but it will give you
approach
Run Here https://ideone.com/7tihB


Thanks
Shashank

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
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