From 0184d9757e2059c8798633ce07f15fc6fbc9f523 Mon Sep 17 00:00:00 2001 From: huangge1199 Date: Thu, 1 Apr 2021 15:01:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9B=E6=89=A3=EF=BC=9A=E9=9D=A2=E8=AF=95?= =?UTF-8?q?=E9=A2=9830:=E5=8C=85=E5=90=ABmin=E5=87=BD=E6=95=B0=E7=9A=84?= =?UTF-8?q?=E6=A0=88(=E4=BF=AE=E5=A4=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/leetcode/editor/cn/BaoHanMinhanShuDeZhanLcof.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }