anonymous
2007-04-14 22:03:51 UTC
I can write a program using stacks and queues to determine if the entire sentence is a palindrome(ex: Madam, I am Adam" works for my program), but I can't figure out how to do it word by word.
Can anyone help?