flowingfog

偶尔刷题

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

2018年11月5日

摘要: 分析 难度 易 来源 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 give 阅读全文
posted @ 2018-11-05 11:17 flowingfog 阅读(89) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 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 s 阅读全文
posted @ 2018-11-05 10:58 flowingfog 阅读(119) 评论(0) 推荐(0) 编辑

2018年11月4日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/minimum-depth-of-binary-tree 题目 Given a binary tree, find its minimum depth. The minimum depth is the number 阅读全文
posted @ 2018-11-04 16:15 flowingfog 阅读(100) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/balanced-binary-tree/ 题目 Given a binary tree, determine if it is height-balanced. For this problem, a height- 阅读全文
posted @ 2018-11-04 15:17 flowingfog 阅读(110) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/ 题目 Given an array where elements are sorted in ascending order, c 阅读全文
posted @ 2018-11-04 10:31 flowingfog 阅读(182) 评论(0) 推荐(0) 编辑

2018年11月2日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/pascals-triangle-ii/ 题目 Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's t 阅读全文
posted @ 2018-11-02 11:41 flowingfog 阅读(146) 评论(0) 推荐(0) 编辑

2018年11月1日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/pascals-triangle/ 题目 Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. I 阅读全文
posted @ 2018-11-01 09:25 flowingfog 阅读(181) 评论(0) 推荐(0) 编辑

2018年10月31日

摘要: 分析 难度 中 来源 https://leetcode.com/problems/binary-tree-level-order-traversal/ 题目 Given a binary tree, return the level order traversal of its nodes' val 阅读全文
posted @ 2018-10-31 22:06 flowingfog 阅读(203) 评论(0) 推荐(0) 编辑

摘要: 分析 难度 易 来源 https://leetcode.com/problems/binary-tree-level-order-traversal-ii/ 题目 Given a binary tree, return the bottom-up level order traversal of i 阅读全文
posted @ 2018-10-31 21:48 flowingfog 阅读(124) 评论(0) 推荐(0) 编辑

2018年10月30日

摘要: 分析 难度 易 来源 https://leetcode.com/problems/maximum-depth-of-binary-tree/ 题目 Given a binary tree, find its maximum depth. The maximum depth is the number 阅读全文
posted @ 2018-10-30 19:43 flowingfog 阅读(101) 评论(0) 推荐(0) 编辑