12 2021 档案
摘要:Given a m * n matrix of ones and zeros, return how many square submatrices have all ones. Example 1: Input: matrix = [ [0,1,1,1], [1,1,1,1], [0,1,1,1]
阅读全文
摘要:Given two integers tomatoSlices and cheeseSlices. The ingredients of different burgers are as follows: Jumbo Burger: 4 tomato slices and 1 cheese slic
阅读全文
摘要:Tic-tac-toe is played by two players A and B on a 3 x 3 grid. The rules of Tic-Tac-Toe are: Players take turns placing characters into empty squares '
阅读全文
摘要:You have a pointer at index 0 in an array of size arrLen. At each step, you can move 1 position to the left, 1 position to the right in the array, or
阅读全文
摘要:Given an array of strings products and a string searchWord. We want to design a system that suggests at most three product names from products after e
阅读全文
摘要:On a 2D plane, there are n points with integer coordinates points[i] = [xi, yi]. Return *the minimum time in seconds to visit all the points in the or
阅读全文
摘要:A storekeeper is a game in which the player pushes boxes around in a warehouse trying to get them to target locations. The game is represented by an m
阅读全文
摘要:Given an array nums of integers, we need to find the maximum possible sum of elements of the array such that it is divisible by three. Example 1: Inpu
阅读全文