Which data structure can be used to test a palindrome?

Q & ACategory: Data StructureWhich data structure can be used to test a palindrome?
Admin Staff asked 5 years ago

Which data structure can be used to test a palindrome?
a) Tree
b) Heap
c) Stack
d) Priority queue

1 Answers
Admin Staff answered 5 years ago

c) Stack