Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Characters are independent—only the frequency of characters matters.
It is possible to distribute characters if all characters can be divided equally among all strings.