What is stack?
--> Stack is the collection of objects accessed from one end. eg. pile of the plate in the kitchen. It has two primitive operations are: Push for addition and Pop for deletion. All the operation are on the top of the stack.
--> LIFO: last in first out
PUSH Operation & Implementation:-
--> always added on top of the stack. syntax:- push(n)
eg.
-define the size of the stack.
- define the top of stack -1.
-push(n): it will push the element into the stack.
Overflow
-If there is no more space to push element in the stack, the stack is full!!!
POP Operation and Implementation:
-remove an element from the top of the stack. eg n = pop().
Underflow:
-if the stack has no more element and tried to remove the element. the stack is empty!!!
--> Stack is the collection of objects accessed from one end. eg. pile of the plate in the kitchen. It has two primitive operations are: Push for addition and Pop for deletion. All the operation are on the top of the stack.
--> LIFO: last in first out
PUSH Operation & Implementation:-
--> always added on top of the stack. syntax:- push(n)
eg.
-define the size of the stack.
- define the top of stack -1.
-push(n): it will push the element into the stack.
Overflow
-If there is no more space to push element in the stack, the stack is full!!!
POP Operation and Implementation:
-remove an element from the top of the stack. eg n = pop().
Underflow:
-if the stack has no more element and tried to remove the element. the stack is empty!!!
Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
ReplyDeleteData Science training in Chennai | Data science training in bangalore
Data science training in pune | Data science online training
Data Science Interview questions and answers
Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
ReplyDeleteData Science Training in Chennai | Best Data science Training in Chennai | Data Science training in anna nagar | Data science training in Chennai
Data Science training in chennai | Best Data Science training in chennai | Data science training in Bangalore | Data Science training institute in Bangalore
Data Science training in marathahalli | Data Science training in Bangalore | Data Science training in btm layout | Data Science Training in Bangalore
This comment has been removed by the author.
ReplyDeleteReally very nice blog information for this one and more technical skills are improve,i like that kind of post.
ReplyDeleteadvanced excel training in bangalore | Devops Training in Chennai
This is very good content you share on this blog. it's very informative and provide me future related information.
ReplyDeleteangularjs Training in bangalore
angularjs Training in bangalore
angularjs Training in chennai
automation anywhere online Training
angularjs interview questions and answers
This was an excellent blog with a lot of useful information. Keep sharing more.
ReplyDeleteBest Spoken English Class in Chennai
Spoken English Course in Chennai
Best Spoken English Classes in Chennai
Spoken English Training near me
Best Spoken English Institute in Chennai
English Coaching Class in Chennai
English Courses in Chennai
Excellent Blog!!! Such an interesting blog with clear vision, this will definitely help for beginner to make them update.
ReplyDeleteCloud Training in Chennai
Cloud computing Training
cloud training in bangalore
cloud computing institutes in bangalore
cloud computing training in coimbatore
Great blog, I was searching this for a while. Do post more like this.
ReplyDeleteData Science Course in Chennai
Data Science Training in Chennai
Data Analytics Courses in Chennai
Attend The Python Training in Bangalore From ExcelR. Practical Python Training in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python Training in Bangalore.
ReplyDeleteTreasureBox is operated by a group of young, passionate, and ambitious people that are working diligently towards the same goal - make your every dollar count, as we believe you deserve something better.
ReplyDeleteCheck out the best
rattan outdoor furniture nz
headboard nz
laptop table nz
Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share.
ReplyDeletedata science course in India
Extraordinary Blog. Provides necessary information.
ReplyDeletegerman institute in Chennai
german coaching center in Chennai
This post is so interactive and informative.keep update more information...
ReplyDeleteAzure Training in Bangalore
Microsoft Azure training in Bangalore
Such a good post .thanks for sharing
ReplyDeleteData Science Training in Porur
Data Science course in Chennai