摘要: s = 'aaabbacccc'def max_length_substring(s): item_list = [] item_max = 0 for i in s: if i not in item_list: item_list.append(i) else: if item_max < le 阅读全文
posted @ 2019-12-03 21:24 CoyLee 阅读(144) 评论(0) 推荐(0) 编辑
摘要: s1 = '3 1 5 21 10's2 = '0 3 3 1 5's3 = '3'def numberTree(s1, s2, s3): s1 = s1.split(' ') s2 = s2.split(' ') c = s3.split(' ') count = 1 while True: b 阅读全文
posted @ 2019-12-03 21:23 CoyLee 阅读(180) 评论(0) 推荐(0) 编辑