上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 49 下一页
摘要: Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is po 阅读全文
posted @ 2018-02-10 16:35 A-Little-Nut 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 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 @ 2018-02-10 16:34 A-Little-Nut 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Initially on a notepad only one character 'A' is present. You can perform two operations on this notepad for each step: Copy All : You can copy all th 阅读全文
posted @ 2018-02-10 16:33 A-Little-Nut 阅读(251) 评论(0) 推荐(0) 编辑
摘要: Given an array of scores that are non negative integers. Player 1 picks one of the numbers from either end of the array followed by the player 2 and t 阅读全文
posted @ 2018-02-10 16:32 A-Little-Nut 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro 阅读全文
posted @ 2018-02-10 16:31 A-Little-Nut 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Given a non negative integer n, count all numbers with unique digits, x, where 0 ≤ x Given n = 2, return 91. (The answer should be the total numbers i 阅读全文
posted @ 2018-02-10 16:31 A-Little-Nut 阅读(114) 评论(0) 推荐(0) 编辑
摘要: You are given n pairs of numbers. In every pair, the first number is always smaller than the second number. Now, we define a pair (c, d) can follow an 阅读全文
posted @ 2018-02-10 16:30 A-Little-Nut 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Given two strings s1, s2, find the lowest ASCII sum of deleted characters to make two strings equal. Example 1: Input: s1 = "sea", s2 = "eat" Output: 阅读全文
posted @ 2018-02-10 16:29 A-Little-Nut 阅读(274) 评论(0) 推荐(0) 编辑
摘要: A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the 阅读全文
posted @ 2018-02-10 16:27 A-Little-Nut 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c 阅读全文
posted @ 2018-02-10 16:01 A-Little-Nut 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 49 下一页