Skip to content

Commit e52b2ed

Browse files
authored
Add reference link for monotonic stack implementation
Added a comment with a reference link for monotonic stack.
1 parent 8cfd530 commit e52b2ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/com/thealgorithms/stacks/MonotonicIncreasingStack.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,5 @@ public static void main(String[] args) {
5959
System.out.println("Next Smaller Element: " + Arrays.toString(nextSmaller));
6060
}
6161
}
62+
63+
/* https://www.geeksforgeeks.org/dsa/introduction-to-monotonic-stack-2/ */

0 commit comments

Comments
 (0)