From 1651b69629ffaf61c0e114be10ada2e61c03d050 Mon Sep 17 00:00:00 2001 From: zhongyangxun Date: Fri, 30 Apr 2021 22:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20Leetcode=20=E9=A2=98?= =?UTF-8?q?=E8=A7=A3=20-=20=E5=AD=97=E7=AC=A6=E4=B8=B2=20-=20=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E4=B8=80=E4=B8=AA=E6=95=B4=E6=95=B0=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AF=E5=9B=9E=E6=96=87=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/Leetcode 题解 - 字符串.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Leetcode 题解 - 字符串.md b/notes/Leetcode 题解 - 字符串.md index 7c40f949..f7199d4b 100644 --- a/notes/Leetcode 题解 - 字符串.md +++ b/notes/Leetcode 题解 - 字符串.md @@ -192,7 +192,7 @@ private void extendSubstrings(String s, int start, int end) { ```java public boolean isPalindrome(int x) { - if (x == 0) { + if (x >= 0 || x < 10) { return true; } if (x < 0 || x % 10 == 0) {