395. Longest Substring with At Least K Repeating Characters
·
Algorithm
Longest Substring with At Least K Repeating Characters - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문자열 s와 양의 정수 k가 주어진다. s의 부분 문자열을 구성하는 문자의 출현 빈도수가 k보다 같거나 큰 조건을 만족하는 부분 문자열의 최대 길이를 반환하는 문제다. 예시 Input: s = "aaabb", k = 3 Output: 3 Explanation: The longest substring is "aaa",..