Implement a Stack using an Array
Implement a Stack using a Linked List
Reverse a String using a Stack
Check for Balanced Parentheses
Convert Infix Expression to Postfix Expression
Evaluate a Postfix Expression
Find the Next Greater Element
Implement Two Stacks in One Array
Design a Stack that Supports getMin() in O(1) Time
Sort a Stack using Recursion
Subject: Data Structure and Algorithm
Implement a Stack using a Linked List
Write a program to implement a stack using an Linked List with the following operations:
- Push an element
- Pop an element
- Peek (get the top element)
- Check if the stack is empty or full
Select file or drag and drop
PNG, JPG, SVG