![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode解题报告
yaozhili_
这个作者很懒,什么都没留下…
展开
-
[leetcode] 493. Reverse Pairs
Question Given an array nums, we call (i, j) an important reverse pair if i 2*nums[j]. You need to return the number of important reverse pairs in the given array. Example1: Input: [1,3,2,3,1] Ou原创 2018-01-04 22:36:58 · 301 阅读 · 0 评论 -
[leetcode] 387. First Unique Character in a String
LeetCode387原创 2017-09-13 20:56:49 · 136 阅读 · 0 评论 -
[leetcode] 268. Missing Number
268. Missing Number原创 2017-09-13 21:17:29 · 148 阅读 · 0 评论 -
[leetcode] 367. Valid Perfect Square
367. Valid Perfect Square原创 2017-09-22 20:30:32 · 168 阅读 · 0 评论 -
[leetcode] 100. Same Tree
100. Same Tree原创 2017-09-24 19:32:45 · 240 阅读 · 0 评论 -
[leetcode] 437. Path Sum III
437. Path Sum III原创 2017-09-28 15:26:17 · 154 阅读 · 0 评论 -
[leetcode] 235. Lowest Common Ancestor of a Binary Search Tree
235. Lowest Common Ancestor of a Binary Search Tree原创 2017-09-30 13:19:45 · 150 阅读 · 0 评论 -
[leetcode] 257. Binary Tree Paths
257. Binary Tree Paths原创 2017-10-07 10:43:20 · 147 阅读 · 0 评论 -
[leetcode] 447. Number of Boomerangs
LeetCode 447. Number of Boomerangs原创 2017-10-08 21:55:01 · 328 阅读 · 0 评论 -
[leetcode] 404. Sum of Left Leaves
[leetcode] 404. Sum of Left Leaves原创 2017-10-12 13:10:42 · 167 阅读 · 0 评论 -
[leetcode] 374. Guess Number Higher or Lower
[leetcode] 374. Guess Number Higher or Lower原创 2017-10-12 16:59:03 · 168 阅读 · 0 评论 -
[leetcode] 35. Search Insert Position
[leetcode] 35. Search Insert Position原创 2017-10-13 13:59:06 · 135 阅读 · 0 评论 -
iterative-mergesort
iterative-mergesort原创 2017-10-14 10:03:46 · 1150 阅读 · 0 评论 -
[leetcode] 66. Plus One
[leetcode] 66. Plus One原创 2017-10-16 00:00:02 · 134 阅读 · 0 评论 -
[leetcode] 39. Combination Sum
[leetcode] 39. Combination Sum原创 2017-10-15 11:49:02 · 152 阅读 · 0 评论 -
[leetcode] 290. Word Pattern
[leetcode] 290. Word Pattern原创 2017-10-17 00:03:15 · 126 阅读 · 0 评论 -
[leetcode] 638. Shopping Offers
638. Shopping Offers原创 2017-09-23 13:46:37 · 239 阅读 · 0 评论 -
[leetcode] 125. Valid Palindrome
125. Valid Palindrome原创 2017-09-10 12:21:50 · 139 阅读 · 0 评论 -
[leetcode] 474. Ones and Zeroes
Question: In the computer world, use restricted resource you have to generate maximum benefit is what we always want to pursue. For now, suppose you are a dominator of m 0s and n 1s respectively. On原创 2018-01-13 16:56:36 · 161 阅读 · 0 评论 -
[leetcode] 337. House Robber III
Question: The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the “root.” Besides the root, each house has one and only one parent house. A原创 2018-01-13 15:14:58 · 169 阅读 · 0 评论 -
[leetcode] 45. Jump Game II
Question Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your原创 2018-01-13 13:02:46 · 133 阅读 · 0 评论 -
[leetcode] 169. Majority Element
[leetcode] 169. Majority Element原创 2017-12-26 22:52:48 · 147 阅读 · 0 评论 -
[leetcode] 2. Add Two Numbers
[leetcode] 2. Add Two Numbers原创 2017-12-07 16:02:12 · 115 阅读 · 0 评论 -
[leetcode] 714. Best Time to Buy and Sell Stock with Transaction Fee
[leetcode] 714. Best Time to Buy and Sell Stock with Transaction Fee原创 2017-12-16 18:04:00 · 194 阅读 · 0 评论 -
[leetcode] 740. Delete and Earn
[leetcode] 740. Delete and Earn原创 2017-12-16 17:18:08 · 307 阅读 · 0 评论 -
[leetcode] 46. Permutations
[leetcode] 46. Permutations原创 2017-12-07 15:42:15 · 126 阅读 · 0 评论 -
[leetcode] 347. Top K Frequent Elements
[leetcode] 347. Top K Frequent Elements原创 2017-12-23 15:28:43 · 152 阅读 · 0 评论 -
[leetcode] 739. Daily Temperatures
[leetcode] 739. Daily Temperatures原创 2017-12-05 23:34:43 · 558 阅读 · 0 评论 -
[leetcode] 22. Generate Parentheses
[leetcode] 22. Generate Parentheses原创 2017-11-26 14:30:49 · 138 阅读 · 0 评论 -
[leetcode] 687. Longest Univalue Path
[leetcode] 687. Longest Univalue Path原创 2017-11-26 12:43:10 · 1562 阅读 · 0 评论 -
[leetcode] 1. Two Sum
leetcode 1. Tow Sum原创 2017-09-06 19:48:37 · 149 阅读 · 0 评论 -
[leetcode] 169. Majority Element
leetcode 169. Majority Element原创 2017-09-06 20:32:14 · 268 阅读 · 0 评论 -
[leetcode] 53. Maximum Subarray
[leetcode] 53. Maximum Subarray原创 2017-09-07 23:39:55 · 203 阅读 · 0 评论 -
[leetcode] 442. Find All Duplicates in an Array
[leetcode] 442. Find All Duplicates in an Array原创 2017-11-21 00:10:13 · 141 阅读 · 0 评论 -
[leetcode] 547. Friend Circles
[leetcode] 547. Friend Circles原创 2017-11-22 20:59:11 · 196 阅读 · 0 评论 -
[leetcode] 526. Beautiful Arrangement
[leetcode] 526. Beautiful Arrangement原创 2017-11-16 11:34:41 · 129 阅读 · 0 评论 -
[leetcode] 654. Maximum Binary Tree
[leetcode] 654. Maximum Binary Tree原创 2017-11-08 20:56:29 · 150 阅读 · 0 评论 -
[leetcode]70. Climbing Stairs
[leetcode]70. Climbing Stairs原创 2017-11-08 10:00:27 · 131 阅读 · 0 评论 -
[leetcode] 232. Implement Queue using Stacks
[leetcode] 232. Implement Queue using Stacks原创 2017-11-17 19:38:51 · 175 阅读 · 0 评论 -
[leetcode] 73. Set Matrix Zeroes
[leetcode] 73. Set Matrix Zeroes原创 2017-11-26 10:47:14 · 122 阅读 · 0 评论