Stack has various applications. Some of them are:
i) Reversal of string
ii) Infix to Postfix
iii) Undo feature in text editors
Stack has various applications. Some of them are:
i) Reversal of string
ii) Infix to Postfix
iii) Undo feature in text editors