上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 68 下一页
摘要: 题目如下: Given the root of a binary tree, find the maximum value V for which there exists different nodes A and B where V = |A.val - B.val| and A is an a 阅读全文
posted @ 2019-04-24 23:02 seyjs 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 题目如下: There are 2N people a company is planning to interview. The cost of flying the i-th person to city A is costs[i][0], and the cost of flying the  阅读全文
posted @ 2019-04-24 22:56 seyjs 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 题目如下: We are given a matrix with R rows and C columns has cells with integer coordinates (r, c), where 0 <= r < R and 0 <= c < C. Additionally, we are 阅读全文
posted @ 2019-04-24 22:51 seyjs 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array A of non-negative integers, return the maximum sum of elements in two non-overlapping (contiguous) subarrays, which have lengths  阅读全文
posted @ 2019-04-24 22:49 seyjs 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Implement the StreamChecker class as follows: StreamChecker(words): Constructor, init the data structure with the given words. query(letter): re 阅读全文
posted @ 2019-04-24 22:46 seyjs 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Alice and Bob take turns playing a game, with Alice starting first. Initially, there is a number N on the chalkboard. On each player's turn, tha 阅读全文
posted @ 2019-04-21 10:21 seyjs 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: 题目如下: On an infinite number line (x-axis), we drop given squares in the order they are given. The i-th square dropped (positions[i] = (left, side_leng 阅读全文
posted @ 2019-04-21 10:11 seyjs 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Create a timebased key-value store class TimeMap, that supports two operations. 1. set(string key, string value, int timestamp) Stores the key a 阅读全文
posted @ 2019-04-11 10:07 seyjs 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a C++ program, remove comments from it. The program source is an array where source[i] is the i-th line of the source code. This represent 阅读全文
posted @ 2019-04-11 09:53 seyjs 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 题目如下: You are given a series of video clips from a sporting event that lasted Tseconds. These video clips can be overlapping with each other and have 阅读全文
posted @ 2019-04-08 21:59 seyjs 阅读(679) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 68 下一页