2062. Count Vowel Substrings of a String
2062. Count Vowel Substrings of a String
Description
A substring is a contiguous (non-empty) sequence of characters within a string.
1226. The Dining Philosophers
1116. Print Zero Even Odd
1115. Print FooBar Alternately
1115. Print FooBar Alternately
Description
Implement a thread-safe bounded blocking queue that has the following methods:
340. Longest Substring with At Most K Distinct Characters
340. Longest Substring with At Most K Distinct Characters
Description
Given a string s
and an integer k
, return the length of the longest of s
that contains at most k
distinct characters.
1209. Remove All Adjacent Duplicates in String II
1209. Remove All Adjacent Duplicates in String II
Description
You are given a string s
and an integer k
, a k
duplicate removal consists of choosing k
adjacent and equal letters from s
and removing them, causing the left and the right side of the deleted substring to concatenate together.