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 4 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 4 years ago

c) Stack