u can push the string onto a stack ... so last element will be on top ...
den u can pop out element and compare ...
if u have 2 or more set of palindromes ..
u can keep a counter and keep a check on dat...

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to