, we have some array B. Return the smallest possibl ...
In a project, you have a list of required skillsreq skills, and a list of people. Theithpersonpeople i contains a list of skills that the person has. Consider a sufficient team: a set of people such ...
2021-05-19 11:37 0 234 推荐指数:
, we have some array B. Return the smallest possibl ...
Given an array `A` of integers, for each integer `A[i]` we need to choose either `x = -K` or `x = K ...
the smallest good base of n in string format. Example 1: ...
An image is represented by a binary matrix with 0 as a white pixel and 1 as a black pixel. The bl ...
Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element ...
Given a positive integer K, you need to find the length of the smallest positive integer N such that N is divisible by K, and N only contains ...
Given a binary tree rooted at `root`, the *depth* of each node is the shortest distance to the root ...
Given an array A, we may rotate it by a non-negative integer K so that the array becomes A[K], A[ ...