上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 68 下一页
摘要: 题目如下: Given an array A of integers, a ramp is a tuple (i, j) for which i < j and A[i] <= A[j]. The width of such a ramp is j - i. Find the maximum wid 阅读全文
posted @ 2018-12-26 15:01 seyjs 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a set of points in the xy-plane, determine the minimum area of any rectangle formed from these points, with sides not necessarily parallel 阅读全文
posted @ 2018-12-26 14:45 seyjs 阅读(439) 评论(0) 推荐(0) 编辑
摘要: 题目如下: In a array A of size 2N, there are N+1 unique elements, and exactly one of these elements is repeated N times. Return the element repeated N tim 阅读全文
posted @ 2018-12-24 13:33 seyjs 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a set of points in the xy-plane, determine the minimum area of a rectangle formed from these points, with sides parallel to the x and y ax 阅读全文
posted @ 2018-12-24 13:29 seyjs 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 题目如下: In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contigu 阅读全文
posted @ 2018-12-18 14:28 seyjs 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a binary tree, determine if it is a complete binary tree. Definition of a complete binary tree from Wikipedia:In a complete binary tree ev 阅读全文
posted @ 2018-12-18 10:41 seyjs 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 题目如下: There are 8 prison cells in a row, and each cell is either occupied or vacant. Each day, whether the cell is occupied or vacant changes accordin 阅读全文
posted @ 2018-12-18 10:35 seyjs 阅读(1361) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All of th 阅读全文
posted @ 2018-12-12 10:40 seyjs 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 题目如下: In an alien language, surprisingly they also use english lowercase letters, but possibly in a different order. The order of the alphabet is some 阅读全文
posted @ 2018-12-09 19:14 seyjs 阅读(730) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given an array of integers A with even length, return true if and only if it is possible to reorder it such that A[2 * i + 1] = 2 * A[2 * i] for 阅读全文
posted @ 2018-12-09 19:11 seyjs 阅读(496) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 68 下一页