02 2020 档案
摘要:题目如下: Given n orders, each order consist in pickup and delivery services. Count all valid pickup/delivery possible sequences such that delivery(i) is 
        阅读全文
            
摘要:题目如下: There is a sale in a supermarket, there will be a discount every n customer.There are some products in the supermarket where the id of the i-th 
        阅读全文
            
摘要:题目如下: Given an integer array arr. You have to sort the integers in the array in ascending order by the number of 1's in their binary representation an
        阅读全文
            
摘要:题目如下: Given an array of integers target. From a starting array, A consisting of all 1's, you may perform the following procedure : let x be the sum of
        阅读全文
            
摘要:题目如下: Implement the class ProductOfNumbers that supports two methods: 1. add(int num) Adds the number num to the back of the current list of numbers. 
        阅读全文
            
摘要:题目如下: Given a m * n matrix grid which is sorted in non-increasing order both row-wise and column-wise. Return the number of negative numbers in grid. 
        阅读全文
            
摘要:题目如下: Given a non-negative integer num, return the number of steps to reduce it to zero. If the current number is even, you have to divide it by 2, ot
        阅读全文
            
摘要:题目如下: Given an array of integers arr and two integers k and threshold. Return the number of sub-arrays of size k and average greater than or equal to 
        阅读全文
            
摘要:题目如下: Given two numbers, hour and minutes. Return the smaller angle (in sexagesimal units) formed between the hour and the minute hand. Example 1: Inp
        阅读全文
            
摘要:题目如下: Given an array arr of integers, check if there exists two integers N and M such that N is the double of M ( i.e. N = 2 * M). More formally check
        阅读全文
            
摘要:题目如下: Given two equal-size strings s and t. In one step you can choose any character of t and replace it with another character. Return the minimum nu
        阅读全文
            
摘要:题目如下: Implement the class TweetCounts that supports two methods: 1. recordTweet(string tweetName, int time) Stores the tweetName at the recorded time 
        阅读全文
            
摘要:题目如下: Given an array of integers arr and an integer d. In one step you can jump from index i to index: i + x where: i + x < arr.length and 0 < x <= d.
        阅读全文
            
摘要:题目如下: Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of t
        阅读全文
            
摘要:题目如下: Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the mat
        阅读全文
            
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号