1694. Reformat Phone Number

作者:sryan 更新时间:2021-03-09 14:46 分类:数据结构与算法

You are given a phone number as a string number. number consists of digits, spaces ' ', and/or dashe...

点击数:383 回复数:0

1688. Count of Matches in Tournament

作者:sryan 更新时间:2021-03-09 14:22 分类:数据结构与算法

You are given an integer n, the number of teams in a tournament that has strange rules: If the curre...

点击数:489 回复数:0

1684. Count the Number of Consistent Strings

作者:sryan 更新时间:2021-03-09 14:14 分类:数据结构与算法

You are given a string allowed consisting of distinct characters and an array of strings words. A st...

点击数:432 回复数:0

1678. Goal Parser Interpretation

作者:sryan 更新时间:2021-03-09 14:07 分类:数据结构与算法

You own a Goal Parser that can interpret a string command. The command consists of an alphabet of &q...

点击数:464 回复数:0

1672. Richest Customer Wealth

作者:sryan 更新时间:2021-03-09 13:56 分类:数据结构与算法

You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the i​​​​​​...

点击数:415 回复数:0

1668. Maximum Repeating Substring

作者:sryan 更新时间:2021-03-09 13:43 分类:数据结构与算法

For a string sequence, a string word is k-repeating if word concatenated k times is a substring of s...

点击数:468 回复数:0

1662. Check If Two String Arrays are Equivalent

作者:sryan 更新时间:2021-03-09 12:21 分类:数据结构与算法

Given two string arrays word1 and word2, return true if the two arrays represent the same string, an...

点击数:436 回复数:0

1656. Design an Ordered Stream

作者:sryan 更新时间:2021-03-09 11:38 分类:数据结构与算法

There is a stream of n (idKey, value) pairs arriving in an arbitrary order, where idKey is an intege...

点击数:466 回复数:0

1652. Defuse the Bomb

作者:sryan 更新时间:2021-03-09 11:19 分类:数据结构与算法

You have a bomb to defuse, and your time is running out! Your informer will provide you with a circu...

点击数:453 回复数:0

1646. Get Maximum in Generated Array

作者:sryan 更新时间:2021-03-09 10:44 分类:数据结构与算法

You are given an integer n. An array nums of length n + 1 is generated in the following way: nums[0]...

点击数:454 回复数:0