04 2016 档案
摘要:题目链接 "https://leetcode.com/problems/candy/" 题目原文 There are N children standing in a line. Each child is assigned a rating value. You are giving candie
阅读全文
摘要:题目链接 "https://leetcode.com/problems/gas station/" 题目原文 There are N gas stations along a circular route, where the amount of gas at station i is . You
阅读全文
摘要:题目链接 "https://leetcode.com/problems/clone graph/" 题目原文 Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.
阅读全文
摘要:题目链接 "https://leetcode.com/problems/palindrome partitioning ii/" 题目原文 Given a string s, partition s such that every substring of the partition is a pa
阅读全文
摘要:题目链接 "https://leetcode.com/problems/palindrome partitioning/" 题目原文 Given a string s, partition s such that every substring of the partition is a palin
阅读全文
摘要:题目链接 "https://leetcode.com/problems/surrounded regions/" 题目原文 Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region
阅读全文
摘要:题目链接 "https://leetcode.com/problems/sum root to leaf numbers/" 题目原文 Given a binary tree containing digits from 0 9 only, each root to leaf path could
阅读全文
摘要:题目链接 "https://leetcode.com/problems/longest consecutive sequence/" 题目原文 Given an unsorted array of integers, find the length of the longest consecutiv
阅读全文
摘要:题目链接 "https://leetcode.com/problems/word ladder/" 题目原文 Given two words (beginWord and endWord), and a dictionary's word list, find the length of short
阅读全文
摘要:题目链接 "https://leetcode.com/problems/valid palindrome/" 题目原文 Given a string, determine if it is a palindrome, considering only alphanumeric characters
阅读全文
摘要:题目链接 "https://leetcode.com/problems/binary tree maximum path sum/" 题目原文 Given a binary tree, find the maximum path sum. For this problem, a path is de
阅读全文
摘要:题目链接 "https://leetcode.com/problems/best time to buy and sell stock iii/" 题目原文 Say you have an array for which the ith element is the price of a given
阅读全文
摘要:题目链接 "https://leetcode.com/problems/best time to buy and sell stock ii/" 题目原文 Say you have an array for which the ith element is the price of a given
阅读全文
摘要:题目链接 "https://leetcode.com/problems/best time to buy and sell stock/" 题目原文 Say you have an array for which the ith element is the price of a given sto
阅读全文

浙公网安备 33010602011771号