1100. Find K-Length Substrings With No Repeated Characters
https://leetcode.com/problems/find-k-length-substrings-with-no-repeated-characters
Description
Given a string s
and an integer k
, return the number of substrings in s
of length k
with no repeated characters.
Example 1:
Example 2:
Constraints:
1 <= s.length <= 104
s
consists of lowercase English letters.1 <= k <= 104
ac
Last updated