上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 98 下一页
摘要: 1020. Partition Array Into Three Parts With Equal Sum Given an array A of integers, return true if and only if we can partition the array into three n 阅读全文
posted @ 2019-03-24 14:40 Veritas_des_Liberty 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 一、扩大英语词汇量 名词 形容词(-al) industrial(工业的) 二、夯实语法基础知识 常见的语法现象:如虚拟语气、倒装、主动语态、被动语态、省略句等。 英语中可以充当定语的成分比较复杂, 如名词, 形容词, 形容词性物主代词, 介词短语, 非谓语动词中的分词 (现在分词与过去分词) , 阅读全文
posted @ 2019-03-23 21:06 Veritas_des_Liberty 阅读(458) 评论(0) 推荐(0) 编辑
摘要: There are G people in a gang, and a list of various crimes they could commit. The i-th crime generates a profit[i] and requires group[i] gang members 阅读全文
posted @ 2019-03-23 16:17 Veritas_des_Liberty 阅读(293) 评论(0) 推荐(0) 编辑
摘要: A sequence X_1, X_2, ..., X_n is fibonacci-like if: n >= 3 X_i + X_{i+1} = X_{i+2} for all i + 2 <= n Given a strictly increasing array A of positive 阅读全文
posted @ 2019-03-23 12:45 Veritas_des_Liberty 阅读(257) 评论(0) 推荐(0) 编辑
摘要: An undirected, connected graph of N nodes (labeled 0, 1, 2, ..., N-1) is given as graph. graph.length = N, and j != i is in the list graph[i] exactly 阅读全文
posted @ 2019-03-22 21:37 Veritas_des_Liberty 阅读(264) 评论(0) 推荐(0) 编辑
摘要: There are N dominoes in a line, and we place each domino vertically upright. In the beginning, we simultaneously push some of the dominoes either to t 阅读全文
posted @ 2019-03-22 21:04 Veritas_des_Liberty 阅读(322) 评论(0) 推荐(0) 编辑
摘要: We partition a row of numbers A into at most K adjacent (non-empty) groups, then our score is the sum of the average of each group. What is the larges 阅读全文
posted @ 2019-03-21 17:52 Veritas_des_Liberty 阅读(278) 评论(0) 推荐(0) 编辑
摘要: We have two integer sequences A and B of the same non-zero length. We are allowed to swap elements A[i] and B[i]. Note that both elements are in the s 阅读全文
posted @ 2019-03-19 21:47 Veritas_des_Liberty 阅读(401) 评论(0) 推荐(0) 编辑
摘要: We have two types of tiles: a 2x1 domino shape, and an "L" tromino shape. These shapes may be rotated. Given N, how many ways are there to tile a 2 x 阅读全文
posted @ 2019-03-19 20:47 Veritas_des_Liberty 阅读(302) 评论(0) 推荐(0) 编辑
摘要: In a 2D grid from (0, 0) to (N-1, N-1), every cell contains a 1, except those cells in the given list mines which are 0. What is the largest axis-alig 阅读全文
posted @ 2019-03-18 22:26 Veritas_des_Liberty 阅读(289) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 98 下一页