给定一个字符串 s,要求找到其中一个最短的子串,使得该子串包含了所有的小写字母(a 至 z)。如果不存在这样的子串,返回 -1。
给定一个字符串 s,要求找到其中一个最短的子串,使得该子串包含了所有的小写字母(a 至 z)。如果不存在这样的子串,返回 -1。
开通会员即可查看完整视频题解: 1.题目讲解 2.思路分析 3.逐行代码手写
By signing up a CodeFun2000 universal account, you can submit code and join discussions in all online judging services provided by us.