归档 2018年4月2日

[LeetCode]Expressive Words

题目描述:

LeetCode 809. Expressive Words

Sometimes people repeat letters to represent extra feeling, such as "hello" -> "heeellooo", "hi" -> "hiiii".  Here, we have groups, of adjacent letters that are all the same character, and adjacent characters to the group are ...

继续阅读

[LeetCode]Subdomain Visit Count

题目描述:

LeetCode 811. Subdomain Visit Count

A website domain like "discuss.leetcode.com" consists of various subdomains. At the top level, we have "com", at the next level, we have "leetcode.com", and at the lowest level, "discuss.leetcode.com" ...

继续阅读

昨天

明天

归档