摘要:
package TongJi; public class Duixiang { private static int n; public Duixiang() { n++; } public static int getNum() { return n; } public static vo... 阅读全文
摘要:
(1) 使用递归方式判断某个字串是否是回文( palindrome ); “回文”是指正着读、反着读都一样的句子。比如“我是谁是我” 使用递归算法检测回文的算法描述如下: A single or zero-character string is a palindrome. Any other str 阅读全文