Which is the most appropriate data structure for reversing a word?

Q & ACategory: Data StructureWhich is the most appropriate data structure for reversing a word?
Admin Staff asked 4 years ago

Which is the most appropriate data structure for reversing a word?
a) queue
b) stack
c) tree
d) graph

1 Answers
Admin Staff answered 4 years ago

b) stack