You are given strings s and target. You can select characters from s and rearrange them to construct copies of target.
Return the maximum number of copies of target that can be formed when each character in s is used at most
Constraints:
s.length
target.length
s and target consist of lowercase English letters.
You are given strings s and target. You can select characters from s and rearrange them to construct copies of target.
Return the maximum number of copies of target that can be formed when each character in s is used at most
Constraints:
s.length
target.length
s and target consist of lowercase English letters.