1.

Reversing a word using stack can be used to find if the given word is a palindrome or not.(a) True(b) FalseQuestion is taken from Reverse a Word using Stack in portion Application of Stacks of Data Structures & Algorithms II had been asked this question in final exam.

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.



Discussion

No Comment Found

Related InterviewSolutions