What will be the word obtained if the word “abbcabb” is reversed using a stack?

Q & ACategory: Data StructureWhat will be the word obtained if the word “abbcabb” is reversed using a stack?
Admin Staff asked 4 years ago

What will be the word obtained if the word “abbcabb” is reversed using a stack?
a) bbabbca
b) abbcabb
c) bbacbba
d) bbacabb

1 Answers
Admin Staff answered 4 years ago

c) bbacbba