摘要: 题目如下: Given a m x n grid. Each cell of the grid represents a street. The street of grid[i][j] can be: 1 which means a street connecting the left cell 阅读全文
posted @ 2020-03-29 07:23 seyjs 阅读(492) 评论(0) 推荐(0)
摘要: 题目如下: Given an integer array nums, return the sum of divisors of the integers in that array that have exactly four divisors. If there is no such integ 阅读全文
posted @ 2020-03-29 07:17 seyjs 阅读(291) 评论(0) 推荐(0)
摘要: 题目如下: Given two arrays of integers nums and index. Your task is to create target array under the following rules: Initially target array is empty. Fro 阅读全文
posted @ 2020-03-29 07:16 seyjs 阅读(383) 评论(0) 推荐(0)
摘要: 题目如下: The power of an integer x is defined as the number of steps needed to transform x into 1 using the following steps: if x is even then x = x / 2 阅读全文
posted @ 2020-03-29 07:09 seyjs 阅读(633) 评论(0) 推荐(0)
摘要: 题目如下: A cinema has n rows of seats, numbered from 1 to n and there are ten seats in each row, labelled from 1 to 10 as shown in the figure above. Give 阅读全文
posted @ 2020-03-29 07:05 seyjs 阅读(414) 评论(0) 推荐(0)
摘要: 题目如下: Given two integer arrays arr1 and arr2, and the integer d, return the distance value between the two arrays. The distance value is defined as th 阅读全文
posted @ 2020-03-29 07:01 seyjs 阅读(268) 评论(0) 推荐(0)
摘要: 题目如下: There are n engineers numbered from 1 to n and two arrays: speed and efficiency, where speed[i] and efficiency[i] represent the speed and effici 阅读全文
posted @ 2020-03-29 06:59 seyjs 阅读(400) 评论(0) 推荐(0)