Merge 1651b69629ffaf61c0e114be10ada2e61c03d050 into 456ff183d550baba9f1f5f54a3f736a5089f1cb2

This commit is contained in:
zhongyangxun 2021-08-13 10:32:32 +08:00 committed by GitHub
commit 8ae3a7ffd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {