What do you mean by stack ? Mention it's characteristic
What do you mean by stack ? Mention it's characteristic and applications in real life
-
C - 11306 Views
- 6 Answers
Stack is a linear data structure which follows a particular order in which the operations are performed. The order may be LIFO(Last In First Out) or FILO(First In Last Out).br /Mainly the following three basic operations are performed in the stack:br /strongPush: /strongAdds an item in the stack. If the stack is full, then it is said to be an Overflow condition.br /strongPop:/strong Removes an item from the stack. The items are popped in the reversed order in which they are pushed. If the stack is empty, then it is said to be an Underflow condition.br /strongPeek or Top:/strong Returns top element of stack.br /strongisEmpty: /strongReturns true if stack is empty, else false.
-
- 16 May
- 0 Comments
- Share
Didn't get the answer.
Contact people of Talent-Data Structure directly by clicking here
-
Stack Problem
-
can someone help me with below logic please?
-
what do you mean by queue data structure ?
-
In real life , where can we find the applications of data structures ?
-
Which data structure is used for dictionary and spell checker?
-
Convert Binary Tree to DLL in-place
-
Difference between Stack and Queue
-
Query on deletion operation of Binary Search Tree
-
Address in multi dimensional array
-
peek() operation in Stack data structure