* 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param A string字符串 * @return int整型 */ function getLongestPalindrome( A ) { // write code here if(A.length <= 1) return A.length; let long = 0,len = 0,max = 0; for(let i = 0;i < A.length;i++){ long = getlength(A,i,i ...