Merge 1651b69629ffaf61c0e114be10ada2e61c03d050 into 456ff183d550baba9f1f5f54a3f736a5089f1cb2
This commit is contained in:
commit
8ae3a7ffd1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user