上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 98 下一页
摘要: In LeetCode Store, there are some kinds of items to sell. Each item has a price. However, there are some special offers, and a special offer consists 阅读全文
posted @ 2019-03-10 21:30 Veritas_des_Liberty 阅读(270) 评论(0) 推荐(0)
摘要: Given two integers n and k, find how many different arrays consist of numbers from 1 to n such that there are exactly k inverse pairs. We define an in 阅读全文
posted @ 2019-03-10 20:30 Veritas_des_Liberty 阅读(372) 评论(0) 推荐(0)
摘要: Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain consecutive 阅读全文
posted @ 2019-03-09 22:24 Veritas_des_Liberty 阅读(303) 评论(0) 推荐(0)
摘要: There is an m by n grid with a ball. Given the start coordinate (i,j) of the ball, you can move the ball to adjacent cell or cross the grid boundary i 阅读全文
posted @ 2019-03-08 21:51 Veritas_des_Liberty 阅读(297) 评论(0) 推荐(0)
摘要: Given a positive integer n, return the number of all possible attendance records with length n, which will be regarded as rewardable. The answer may b 阅读全文
posted @ 2019-03-08 20:51 Veritas_des_Liberty 阅读(263) 评论(0) 推荐(0)
摘要: You are given a string representing an attendance record for a student. The record only contains the following three characters: 'A' : Absent. 'L' : L 阅读全文
posted @ 2019-03-08 12:13 Veritas_des_Liberty 阅读(222) 评论(0) 推荐(0)
摘要: Given several boxes with different colors represented by different positive numbers. You may experience several rounds to remove boxes until there is 阅读全文
posted @ 2019-03-07 22:08 Veritas_des_Liberty 阅读(346) 评论(0) 推荐(0)
摘要: Given a list of non-negative numbers and a target integer k, write a function to check if the array has a continuous subarray of size at least 2 that 阅读全文
posted @ 2019-03-07 20:56 Veritas_des_Liberty 阅读(223) 评论(0) 推荐(0)
摘要: You have n super washing machines on a line. Initially, each washing machine has some dresses or is empty. For each move, you could choose any m (1 ≤ 阅读全文
posted @ 2019-03-07 18:28 Veritas_des_Liberty 阅读(217) 评论(0) 推荐(0)
摘要: Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1:Input: "bbbab 阅读全文
posted @ 2019-03-07 11:56 Veritas_des_Liberty 阅读(170) 评论(0) 推荐(0)
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 98 下一页