Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which data structure can be used to test a palindrome?

a) Tree
b) Heap
c) Stack
d) Priority queue

Answer: c
Explanation: Stack is a convenient option as it involves pushing and popping of characters.

Join The Discussion