Stack operations include the following:
§ push: pushing is to add elements on the top of the stack.
§ pop: popping is removing elements from the top of the stack.
§ isfull: isfull finds out whether the stack is full or not
§ isempty: isempty finds out whether the stack is empty or not
§ create: to create an empty stack
§ top: to return the top element of a stack.
0 comments:
Post a Comment