leetcode之数论与模拟刷题总结1
leetcode之数论与模拟刷题总结11-回文数题目链接:题目链接戳这里!!!先来简单题练练手,哈哈思路1:调库法class Solution { public boolean isPalindrome(int x) { if(x<0){ return false ; } String str1 = String.valueOf(x) ; StringBuilder str = new Strin