|
|
||||||||
|
||||||||
|
||||||||
|
|
|
| This example shows how to implement the stack data structure using singly linked list. The Stack has following functions: push(Object) - used to insert the element into the stack. pop() - returns the top element from the stack. isEmpty() - checks whether stack is empty or not. makeEmpty() - makes the empty stack. size()- returns the size of the stack. |
![]() |
| |
|
• Discuss Tutorial
• Comment On Tutorial |
• View Tutorial
• Report Broken Link |
|
|