[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" ...

继续阅读

[LeetCode]Max Increase to Keep City Skyline

题目描述:

LeetCode 807. Max Increase to Keep City Skyline

In a 2 dimensional array grid, each value grid[i][j] represents the height of a building located there. We are allowed to increase the height of any number of buildings ...

继续阅读