11 2020 档案
摘要:题目如下: Given two arrays of integers nums1 and nums2, return the number of triplets formed (type 1 and type 2) under the following rules: Type 1: Triple
        阅读全文
            
摘要:题目如下: Given a string s containing only lower case English letters and the '?' character, convert all the '?' characters into lower case letters such t
        阅读全文
            
摘要:题目如下: Given a square matrix mat, return the sum of the matrix diagonals. Only include the sum of all the elements on the primary diagonal and all the 
        阅读全文
            
摘要:题目如下: Given an array of integers nums, find the maximum length of a subarray where the product of all its elements is positive. A subarray of an array
        阅读全文
            
摘要:题目如下: Given an array of positive integers arr, find a pattern of length m that is repeated k or more times. A pattern is a subarray (consecutive sub-s
        阅读全文
            
摘要:题目如下: Given a directed acyclic graph, with n vertices numbered from 0 to n-1, and an array edges where edges[i] = [fromi, toi] represents a directed e
        阅读全文
            
摘要:题目如下: Given an integer n, add a dot (".") as the thousands separator and return it in string format. Example 1: Input: n = 987 Output: "987" Example 2
        阅读全文
            
摘要:题目如下: Given an array arr that represents a permutation of numbers from 1 to n. You have a binary string of size n that initially has all its bits set 
        阅读全文
            
 
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号