|
|
5 yıl önce | |
|---|---|---|
| .. | ||
| README.md | 5 yıl önce | |
| code.cpp | 5 yıl önce | |
| unitTest.cpp | 5 yıl önce | |
by Helen Yu tags: numbers, validation
Write a function that returns true if a number is a palindrome. Examples isPalindrome(838) ➞ true isPalindrome(4433) ➞ false isPalindrome(443344) ➞ true Notes N/A
Write a function that returns true if a number is a palindrome.
isPalindrome(838) ➞ true
isPalindrome(4433) ➞ false
isPalindrome(443344) ➞ true
N/A