07 2020 档案
摘要:题目如下: Given an array of integers arr of even length n and an integer k. We want to divide the array into exactly n / 2 pairs such that the sum of each
阅读全文
摘要:题目如下: Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. You star
阅读全文
摘要:题目如下: Given a binary array nums, you should delete one element from it. Return the size of the longest non-empty subarray containing only 1's in the r
阅读全文
摘要:题目如下: Given two positive integers n and k. A factor of an integer n is defined as an integer i where n % i == 0. Consider a list of all factors of n s
阅读全文
摘要:题目如下: Given an array of unique integers salary where salary[i] is the salary of the employee i. Return the average salary of employees excluding the m
阅读全文
摘要:题目如下: Your country has an infinite number of lakes. Initially, all the lakes are empty, but when it rains over the nth lake, the nth lake becomes full
阅读全文
浙公网安备 33010602011771号