Skip to content

Commit 3a9ad83

Browse files
authored
Update 9. Palindrome Number.md
1 parent abcc0a6 commit 3a9ad83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/9. Palindrome Number.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
首先小于0肯定不是可以直接返回false;
55
对于一般的int型数,可以先将其转换成字符串,这样判断是否回文就快多了。
66
# C++
7-
```
7+
``` C++
88
class Solution {
99
public:
1010
bool isPalindrome(int x) {

0 commit comments

Comments
 (0)