摘要:
Given a string S with only lowercase characters. Return the number of substrings that contains at least k distinct characters. Example 1: Input: S = " 阅读全文
posted @ 2022-06-25 08:47
CNoodle
阅读(246)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2022-06-25 06:34
CNoodle
阅读(148)
评论(0)
推荐(0)