+1 vote
in Data Structures & Algorithms I by (110k points)
Reversing a word using stack can be used to find if the given word is a palindrome or not.

(a) True

(b) False

Question is taken from Reverse a Word using Stack in portion Application of Stacks of Data Structures & Algorithms I

I had been asked this question in final exam.

1 Answer

+1 vote
by (408k points)
selected by
 
Best answer
Right choice is (a) True

To explain: This application of stack can also be used to find if the given word is a palindrome because, if the reversed is same as that of the original word, the given word is a palindrome.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...