摘要:
原题链接在这里:https://leetcode.com/problems/decode-ways-ii/description/ 题目: A message containing letters from A-Z is being encoded to numbers using the foll
阅读全文
posted @ 2017-10-19 14:52
Dylan_Java_NYC
阅读(407)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/construct-binary-tree-from-string/description/ 题目: You need to construct a binary tree from a string consisting
阅读全文
posted @ 2017-10-19 02:54
Dylan_Java_NYC
阅读(484)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/minimum-time-difference/description/ 题目: Given a list of 24-hour clock time points in "Hour:Minutes" format, fin
阅读全文
posted @ 2017-10-18 14:52
Dylan_Java_NYC
阅读(252)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/design-log-storage-system/description/ 题目: You are given several logs that each log contains a unique id and tim
阅读全文
posted @ 2017-10-18 14:24
Dylan_Java_NYC
阅读(1041)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/split-concatenated-strings/description/ 题目: Given a list of strings, you could concatenate these strings togethe
阅读全文
posted @ 2017-10-18 09:07
Dylan_Java_NYC
阅读(356)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/count-binary-substrings/description/ 题目: Give a string s, count the number of non-empty (contiguous) substrings
阅读全文
posted @ 2017-10-18 06:35
Dylan_Java_NYC
阅读(238)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/repeated-string-match/description/ 题目: Given two strings A and B, find the minimum number of times A has to be r
阅读全文
posted @ 2017-10-18 06:16
Dylan_Java_NYC
阅读(404)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/combination-sum-iv/ 题目: Given an integer array with all positive numbers and no duplicates, find the number of p
阅读全文
posted @ 2017-10-16 03:39
Dylan_Java_NYC
阅读(369)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/baseball-game/description/ 题目: You're now a baseball game point recorder. Given a list of strings, each string c
阅读全文
posted @ 2017-10-10 23:50
Dylan_Java_NYC
阅读(200)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/knight-probability-in-chessboard/description/ 题目: On an NxN chessboard, a knight starts at the r-th row and c-th
阅读全文
posted @ 2017-10-07 00:14
Dylan_Java_NYC
阅读(1051)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/beautiful-arrangement-ii/description/ 题目: Given two integers n and k, you need to construct a list which contain
阅读全文
posted @ 2017-10-06 23:35
Dylan_Java_NYC
阅读(235)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/beautiful-arrangement/ 题目: Suppose you have n integers labeled 1 through n. A permutation of those n integers pe
阅读全文
posted @ 2017-10-04 02:40
Dylan_Java_NYC
阅读(402)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/employee-importance/description/ 题目: You are given a data structure of employee information, which includes the
阅读全文
posted @ 2017-10-04 01:56
Dylan_Java_NYC
阅读(513)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/wiggle-subsequence/description/ 题目: A sequence of numbers is called a wiggle sequence if the differences between
阅读全文
posted @ 2017-10-03 07:53
Dylan_Java_NYC
阅读(189)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/largest-divisible-subset/description/ 题目: Given a set of distinct positive integers, find the largest subset suc
阅读全文
posted @ 2017-10-02 12:12
Dylan_Java_NYC
阅读(273)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/arithmetic-slices/description/ 题目: A sequence of number is called arithmetic if it consists of at least three el
阅读全文
posted @ 2017-10-01 10:39
Dylan_Java_NYC
阅读(180)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/ones-and-zeroes/description/ 题目: In the computer world, use restricted resource you have to generate maximum ben
阅读全文
posted @ 2017-10-01 10:08
Dylan_Java_NYC
阅读(220)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/predict-the-winner/description/ 题目: Given an array of scores that are non-negative integers. Player 1 picks one
阅读全文
posted @ 2017-09-29 02:55
Dylan_Java_NYC
阅读(196)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/partition-equal-subset-sum/description/ 题目: Given a non-empty array containing only positive integers, find if t
阅读全文
posted @ 2017-09-29 02:04
Dylan_Java_NYC
阅读(316)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/shopping-offers/description/ 题目: In LeetCode Store, there are some kinds of items to sell. Each item has a price
阅读全文
posted @ 2017-09-28 14:12
Dylan_Java_NYC
阅读(379)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/target-sum/description/ 题目: You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now
阅读全文
posted @ 2017-09-28 06:09
Dylan_Java_NYC
阅读(263)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/bomb-enemy/description/ 题目: Given a 2D grid, each cell is either a wall 'W', an enemy 'E' or empty '0' (the numb
阅读全文
posted @ 2017-09-28 02:11
Dylan_Java_NYC
阅读(553)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/sentence-screen-fitting/ 题目: Given a rows x cols screen and a sentence represented by a list of non-empty words,
阅读全文
posted @ 2017-09-27 15:42
Dylan_Java_NYC
阅读(389)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/android-unlock-patterns/description/ 题目: Given an Android 3x3 key lock screen and two integers m and n, where 1
阅读全文
posted @ 2017-09-26 16:02
Dylan_Java_NYC
阅读(507)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/integer-break/description/ 题目: Given a positive integer n, break it into the sum of at least two positive intege
阅读全文
posted @ 2017-09-26 14:38
Dylan_Java_NYC
阅读(203)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/count-numbers-with-unique-digits/description/ 题目: Given a non-negative integer n, count all numbers with unique
阅读全文
posted @ 2017-09-26 14:07
Dylan_Java_NYC
阅读(183)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/palindromic-substrings/description/ 题目: Given a string, your task is to count how many palindromic substrings in
阅读全文
posted @ 2017-09-26 10:00
Dylan_Java_NYC
阅读(276)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/out-of-boundary-paths/description/ 题目: There is an m by n grid with a ball. Given the start coordinate (i,j) of
阅读全文
posted @ 2017-09-26 09:41
Dylan_Java_NYC
阅读(631)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/is-subsequence/description/ 题目: Given a string s and a string t, check if s is subsequence of t. You may assume
阅读全文
posted @ 2017-09-26 01:42
Dylan_Java_NYC
阅读(280)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/can-i-win/description/ 题目: In the "100 game," two players take turns adding, to a running total, any integer fro
阅读全文
posted @ 2017-09-25 14:39
Dylan_Java_NYC
阅读(284)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/maximum-length-of-pair-chain/description/ 题目: You are given n pairs of numbers. In every pair, the first number
阅读全文
posted @ 2017-09-24 02:57
Dylan_Java_NYC
阅读(428)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/unique-substrings-in-wraparound-string/description/ 题目: Consider the string s to be the infinite wraparound stri
阅读全文
posted @ 2017-09-23 07:59
Dylan_Java_NYC
阅读(276)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/continuous-subarray-sum/description/ 题目: Given a list of non-negative numbers and a target integer k, write a fu
阅读全文
posted @ 2017-09-23 01:56
Dylan_Java_NYC
阅读(278)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/4-keys-keyboard/description/ 题目: Imagine you have a special keyboard with the following keys: Key 1: (A): Print
阅读全文
posted @ 2017-09-22 15:27
Dylan_Java_NYC
阅读(245)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/2-keys-keyboard/description/ 题目: Initially on a notepad only one character 'A' is present. You can perform two o
阅读全文
posted @ 2017-09-22 14:52
Dylan_Java_NYC
阅读(330)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/output-contest-matches/description/ 题目: During the NBA playoffs, we always arrange the rather strong team to pla
阅读全文
posted @ 2017-09-22 13:17
Dylan_Java_NYC
阅读(228)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/queue-reconstruction-by-height/description/ 题目: Suppose you have a random list of people standing in a queue. Ea
阅读全文
posted @ 2017-09-21 14:07
Dylan_Java_NYC
阅读(453)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/find-bottom-left-tree-value/description/ 题目: Given a binary tree, find the leftmost value in the last row of the
阅读全文
posted @ 2017-09-21 13:35
Dylan_Java_NYC
阅读(157)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/maximum-binary-tree/description/ 题目: Given an integer array with no duplicates. A maximum tree building on this
阅读全文
posted @ 2017-09-21 08:48
Dylan_Java_NYC
阅读(131)
推荐(0)
摘要:
原题链接在这里:https://leetcode.com/problems/valid-palindrome-ii/description/ 题目: Given a non-empty string s, you may delete at most one character. Judge whe
阅读全文
posted @ 2017-09-20 13:59
Dylan_Java_NYC
阅读(574)
推荐(0)