package com.thinker.bishi.offer; /** * @author lzh * @apiNote 判断一个字符串中是否只含有相同的子字符串(子串长度>=2) */ public class CheckSameSubString { public static boolean go(String str){ if(null == str || str.length() <= 2) return false; for(int i=0;i