diff --git a/LeetCode/src/main/java/leetcode/editor/cn/BaoHanMinhanShuDeZhanLcof.java b/LeetCode/src/main/java/leetcode/editor/cn/BaoHanMinhanShuDeZhanLcof.java index 32462ca..195cca7 100644 --- a/LeetCode/src/main/java/leetcode/editor/cn/BaoHanMinhanShuDeZhanLcof.java +++ b/LeetCode/src/main/java/leetcode/editor/cn/BaoHanMinhanShuDeZhanLcof.java @@ -67,7 +67,7 @@ class MinStack { return stack.peek(); } - public int getMin() { + public int min() { return min.peek(); } }