档案日期2018的18

2018年4月30日 - 2018年5月6日

[LeetCode]Masking Personal Information

题目描述:

LeetCode 831. Masking Personal Information

We are given a personal information string S, which may represent either an email address or a phone number.

We would like to mask this personal information according to the following rules:

1. Email address:

We define a  ...

继续阅读

[LeetCode]Positions of Large Groups

题目描述:

LeetCode 830. Positions of Large Groups

In a string S of lowercase letters, these letters form consecutive groups of the same character.

For example, a string like S = "abbxxxxzyy" has the groups "a", "bb", "xxxx", "z" and "yy".

Call ...

继续阅读

每日归档

上周

下周

归档