Question
Select the appropriate code which tests for a palindrome.
Answer: Option A
Was this answer helpful ?
Push all the characters in the input string to a stack, now pop them and append to a new string which is checked for equality with the original string.
Was this answer helpful ?
Submit Solution