import java.util.*;
public class Solution {
/**
* @param str string字符串 待判断的字符串
* @return bool布尔型
*/
public boolean judge (String str) {
// write code here
char[] ch = str
给定一个字符串,请编写一个函数判断该字符串是否回文。如果回文请返回true,否则返回false
最新推荐文章于 2024-03-07 10:36:46 发布