上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页
摘要: 题目: Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, 阅读全文
posted @ 2020-02-29 14:44 silentteller 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 题目: 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 阅读全文
posted @ 2020-02-28 12:35 silentteller 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 题目: Write a program to solve a Sudoku puzzle by filling the empty cells. A sudoku solution must satisfy all of the following rules: Each of the digits 阅读全文
posted @ 2020-02-27 15:53 silentteller 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate 阅读全文
posted @ 2020-02-27 14:59 silentteller 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations per 阅读全文
posted @ 2020-02-26 15:05 silentteller 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were in 阅读全文
posted @ 2020-02-26 13:49 silentteller 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a collection of intervals, merge all overlapping intervals. Example 1: Input: [[1,3],[2,6],[8,10],[15,18]] Output: [[1,6],[8,10],[15,18]] Ex 阅读全文
posted @ 2020-02-26 12:58 silentteller 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 题目: In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all other nodes are descendants of th 阅读全文
posted @ 2020-02-25 14:52 silentteller 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree, you need to compute the length of the diameter of the tree. The diameter of a binary tree is the length of the longest path b 阅读全文
posted @ 2020-02-24 17:17 silentteller 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where 阅读全文
posted @ 2020-02-24 16:46 silentteller 阅读(330) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页