Give at least 5 real life examples where you use stack operations with algorithm
Give at least 5 real life examples where you use stack operations with algorithm
1) The real life examples of stacks are:
a. Bangles in a handb. Same circumference circular rings in a polec. Sacks full of wheat placed one over other:
d. Battery cells in a torch.e. 1. Recursion
2.To convert decimal number to binary
3.Waiter serving orders one after another
4.Truck loaded with wooden boxes
5.To convert infix expression to post-fix