Skip to content

Commit 1debee0

Browse files
authored
Rename MonotonicStack to MonotonicIncreasingStack
1 parent e52b2ed commit 1debee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import java.util.*;
88

9-
public class MonotonicStack {
9+
public class MonotonicIncreasingStack {
1010

1111
// Returns Next Greater Element for each element in the array
1212
public static int[] nextGreaterElement(int[] arr) {

0 commit comments

Comments
 (0)