上一页 1 2 3 4 5 6 7 8 9 10 ··· 50 下一页
摘要: Given a non-empty binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any 阅读全文
posted @ 2018-10-17 07:41 轻风舞动 阅读(431) 评论(0) 推荐(0) 编辑
摘要: Given a list of strings, you could concatenate these strings together into a loop, where for each string you could choose to reverse it or not. Among 阅读全文
posted @ 2018-10-17 06:38 轻风舞动 阅读(1012) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, you need to find the length of Longest Consecutive Path in Binary Tree. Especially, this path can be either increasing or decreas 阅读全文
posted @ 2018-10-17 06:05 轻风舞动 阅读(843) 评论(0) 推荐(0) 编辑
摘要: Given a k-ary tree, find the length of the longest consecutive sequence path. The path could be start and end at any node in the treeExampleAn example 阅读全文
posted @ 2018-10-17 06:04 轻风舞动 阅读(311) 评论(0) 推荐(0) 编辑
摘要: Given a grid where each entry is only 0 or 1, find the number of corner rectangles. A corner rectangle is 4 distinct 1s on the grid that form an axis- 阅读全文
posted @ 2018-10-16 09:41 轻风舞动 阅读(703) 评论(0) 推荐(0) 编辑
摘要: There are N workers. The i-th worker has a quality[i] and a minimum wage expectation wage[i]. Now we want to hire exactly K workers to form a paid gro 阅读全文
posted @ 2018-10-16 08:44 轻风舞动 阅读(2431) 评论(0) 推荐(0) 编辑
摘要: N cars are going to the same destination along a one lane road. The destination is target miles away. Each car i has a constant speed speed[i] (in mil 阅读全文
posted @ 2018-10-16 07:26 轻风舞动 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: In an exam room, there are N seats in a single row, numbered 0, 1, 2, ..., N-1. When a student enters the room, they must sit in the seat that maximiz 阅读全文
posted @ 2018-10-16 06:45 轻风舞动 阅读(1798) 评论(0) 推荐(0) 编辑
摘要: You have a list of words and a pattern, and you want to know which words in words matches the pattern. A word matches the pattern if there exists a pe 阅读全文
posted @ 2018-10-16 06:12 轻风舞动 阅读(673) 评论(0) 推荐(0) 编辑
摘要: This problem is an interactive problem new to the LeetCode platform. We are given a word list of unique words, each word is 6 letters long, and one wo 阅读全文
posted @ 2018-10-16 05:59 轻风舞动 阅读(2898) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 50 下一页