首页 > TAG信息列表 > countUniqueChars

LeetCode 828. Count Unique Characters of All Substrings of a Given String

原题链接在这里:https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string/ 题目: Let's define a function countUniqueChars(s) that returns the number of unique characters on s. For example, calling countUniqueChars(s) if s =

[LeetCode] 828. Count Unique Characters of All Substrings of a Given String

Let's define a function countUniqueChars(s) that returns the number of unique characters on s. For example, calling countUniqueChars(s) if s = "LEETCODE" then "L", "T", "C", "O", "D" are th