about | help | code help+videos | done | prefs |
apcsaPrimitivesIntPalindrome
Given an int, determine if its base-10 representation (as a String) is a palindrome. A palindrome reads the same forwards and backward. The sign (-) is part of the representation and should be considered. HINT: checking for a palindrome involves a loop.apcsaPrimitivesIntPalindrome(121) → true apcsaPrimitivesIntPalindrome(123) → false apcsaPrimitivesIntPalindrome(5) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 130
Copyright Nick Parlante 2017 - privacy