Skip to content

Commit b4e2d90

Browse files
committed
added problem statement
1 parent 85c237e commit b4e2d90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/com/thealgorithms/stacks/GreatestElementConstantTime.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* The mainStack is used to store the all the elements of the stack
99
* While the maxStack stores the maximum elements
1010
* When we want to get a maximum element, we call the top of the maximum stack
11+
*
12+
* Problem: https://leetcode.com/problems/min-stack/
1113
*/
1214
public class GreatestElementConstantTime {
1315
private Stack<Integer> mainStack;

0 commit comments

Comments
 (0)