You are given a phone number as a string number. number consists of digits, spaces ' ', and/or dashe...
You are given an integer n, the number of teams in a tournament that has strange rules: If the curre...
You are given a string allowed consisting of distinct characters and an array of strings words. A st...
You own a Goal Parser that can interpret a string command. The command consists of an alphabet of &q...
You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the i...
For a string sequence, a string word is k-repeating if word concatenated k times is a substring of s...
Given two string arrays word1 and word2, return true if the two arrays represent the same string, an...
There is a stream of n (idKey, value) pairs arriving in an arbitrary order, where idKey is an intege...
You have a bomb to defuse, and your time is running out! Your informer will provide you with a circu...
You are given an integer n. An array nums of length n + 1 is generated in the following way: nums[0]...