摘要:
Given a string S with only lowercase characters. Return the number of substrings that contains at least k distinct characters. Example 1: Input: S = " 阅读全文
摘要:
There is a row of n houses, where each house can be painted one of three colors: red, blue, or green. The cost of painting each house with a certain c 阅读全文