![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
文章平均质量分 70
GeraldLee1991
这个作者很懒,什么都没留下…
展开
-
632. Smallest Range
632. Smallest RangeYou have k lists of sorted integers in ascending order. Find the smallest range that includes at least one number from each of the k lists.We define the range [a,b] is smaller than r原创 2017-07-13 23:47:14 · 262 阅读 · 0 评论 -
629. K Inverse Pairs Array
629. K Inverse Pairs ArrayGiven 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 inverse pair as following: F原创 2017-07-14 00:15:49 · 154 阅读 · 0 评论 -
600. Non-negative Integers without Consecutive Ones
600. Non-negative Integers without Consecutive OnesGiven a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT contain consecutive原创 2017-07-14 00:34:24 · 192 阅读 · 0 评论 -
552. Student Attendance Record II
552. Student Attendance Record IIGiven a positive integer n, return the number of all possible attendance records with length n, which will be regarded as rewardable. The answer may be very large, retu原创 2017-07-14 17:20:16 · 248 阅读 · 0 评论 -
564. Find the Closest Palindrome
564. Find the Closest PalindromeGiven an integer n, find the closest integer (not including itself), which is a palindrome.The ‘closest’ is defined as absolute difference minimized between two integers原创 2017-07-14 17:09:25 · 358 阅读 · 0 评论 -
514. Freedom Trail
514. Freedom TrailIn the video game Fallout 4, the quest “Road to Freedom” requires players to reach a metal dial called the “Freedom Trail Ring”, and use the dial to spell a specific keyword in order原创 2017-07-14 23:20:47 · 181 阅读 · 0 评论 -
Single Number 系列
Single Number 系列Single NumberGiven an array of integers, every element appears twice except for one. Find that single one.Note: Your algorithm should have a linear runtime complexity. Could you imple原创 2017-07-07 15:51:18 · 218 阅读 · 0 评论