上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 98 下一页
摘要: On an infinite plane, a robot initially stands at (0, 0) and faces north. The robot can receive one of three instructions: "G": go straight 1 unit; "L 阅读全文
posted @ 2019-05-29 15:53 Veritas_des_Liberty 阅读(385) 评论(0) 推荐(0)
摘要: Given an array A of non-negative integers, the array is squareful if for every pair of adjacent elements, their sum is a perfect square. Return the nu 阅读全文
posted @ 2019-05-28 22:04 Veritas_des_Liberty 阅读(303) 评论(0) 推荐(0)
摘要: On a broken calculator that has a number showing on its display, we can perform two operations: Double: Multiply the number on the display by 2, or; D 阅读全文
posted @ 2019-05-28 20:58 Veritas_des_Liberty 阅读(325) 评论(0) 推荐(0)
摘要: Given an array A of positive lengths, return the largest perimeter of a triangle with non-zero area, formed from 3 of these lengths. If it is impossib 阅读全文
posted @ 2019-05-27 22:35 Veritas_des_Liberty 阅读(217) 评论(0) 推荐(0)
摘要: 1051. Height Checker Students are asked to stand in non-decreasing order of heights for an annual photo. Return the minimum number of students not sta 阅读全文
posted @ 2019-05-26 12:43 Veritas_des_Liberty 阅读(246) 评论(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 to th 阅读全文
posted @ 2019-05-24 22:13 Veritas_des_Liberty 阅读(291) 评论(0) 推荐(0)
摘要: Given an array A of integers, for each integer A[i] we may choose any x with -K <= x <= K, and add x to A[i]. After this process, we have some array B 阅读全文
posted @ 2019-05-23 21:43 Veritas_des_Liberty 阅读(210) 评论(0) 推荐(0)
摘要: Let's say a positive integer is a superpalindrome if it is a palindrome, and it is also the square of a palindrome. Now, given two positive integers L 阅读全文
posted @ 2019-05-23 21:28 Veritas_des_Liberty 阅读(354) 评论(0) 推荐(0)
摘要: On a N * N grid, we place some 1 * 1 * 1 cubes. Each value v = grid[i][j] represents a tower of v cubes placed on top of grid cell (i, j). Return the 阅读全文
posted @ 2019-05-23 20:30 Veritas_des_Liberty 阅读(273) 评论(0) 推荐(0)
摘要: On a 2 dimensional grid with R rows and C columns, we start at (r0, c0) facing east. Here, the north-west corner of the grid is at the first row and c 阅读全文
posted @ 2019-05-22 18:59 Veritas_des_Liberty 阅读(268) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 98 下一页