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
Find the Next Greater Element
Given an array, find the next greater element for each element using a stack.
Select file or drag and drop
PNG, JPG, SVG