You are given a binary string s and a positive integer k.
A substring of s is considered beautiful if it contains exactly k occurrences of the character
Return the shortest beautiful substring of s. If there are multiple shortest beautiful substrings of the same minimum length, return the lexicographically smallest one. If no beautiful substring exists, return an empty string "".
Constraints:
s.length
k s.length
You are given a binary string s and a positive integer k.
A substring of s is considered beautiful if it contains exactly k occurrences of the character
Return the shortest beautiful substring of s. If there are multiple shortest beautiful substrings of the same minimum length, return the lexicographically smallest one. If no beautiful substring exists, return an empty string "".
Constraints:
s.length
k s.length