方法一:穷举法,空间复杂度是O(1),时间复杂度是O(N^...java">public class Max_substring {	public int max_unique_substring(char[] str){	int maxlen = 0;	int begin = 0;	int n = str.length...

方法一:穷举法,空间复杂度是O(1),时间复杂度是O(N^4)

public class Max_substring {	public int max_unique_substring(char[] str){	int maxlen = 0;	int begin = 0;	int n = str.length;	for(int i = 0; i