花花酱 LeetCode Problem List 题目列表Data source: link suggestions and comments are welcome(需要科学上网)Tree(树)Id Name Difficulty Similar Problems Comments 94 Binary Tree Inorder Traversal ★ 144 145 429 589 590 traver
https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips/ https://leetcode.com/p...
Note: All explanations are written in Github Issues, please do not create any new issue or pull request in this project since the problem index should be consistent with the issue index, thanks! ('$' means the problem is locked on Leetcode, '*' means the problem is related to Database...
747 Largest Number At Least Twice of Others Easy 42.60% 748 Shortest Completing Word Medium 53.50% 749 Contain Virus Hard 39.60% 750 Number Of Corner Rectangles $ Medium 51.00% 751 IP to CIDR Easy 54.80% 752 Open the Lock Medium 38.0% 753 Cracking the Safe Hard 39.6% 754 Reach a Number...
Note: All explanations are written in Github Issues, please do not create any new issue or pull request in this project since the problem index should be consistent with the issue index, thanks! ('$' means the problem is locked on Leetcode, '*' means the problem is related to Database...
LeetCode1404https://leetcode.com/problems/number-of-steps-to-reduce-a-number-in-binary-representation-to-one/ 补充部分: AcWing791https://www.acwing.com/problem/content/description/793/ AcWing792https://www.acwing.com/problem/content/description/794/ ...
: HDU 1166 update: query: HDU 1754 I Hate It update: query: HDU 1394 Minimum Inversion Number update: query: HDU 2795 Billboard query: (updatequery) 2. : HDU 1698 Just a Hook update: ( query, 1 ) POJ 3468 A Simple Problem with Integers update: query: POJ 2528 Mayor’s posters +...
0218 The Skyline Problem Go 34.5% Hard 0219 Contains Duplicate II Go 37.7% Easy 0220 Contains Duplicate III Go 20.9% Medium 0221 Maximal Square 37.7% Medium 0222 Count Complete Tree Nodes Go 46.7% Medium 0223 Rectangle Area Go 37.8% Medium 0224 Basic Calculator Go 36.8% Hard 0225...
single_number ^= num return single_number复杂度分析时间复杂度:O(N),其中N为数组长度。 空间复杂度:O(1)137. 只出现一次的数字 2题目大意是除了一个数字出现一次,其他都出现了三次,让我们找到出现一次的数。 灵活运用位运算是本题的关键。Python3:Python...
514A. Chewbaсca and Number (1200) 804B. Minimum number of steps (1400) (Math+Observation) 687A. NP Hard Problem (1500) (二分图) 782B. The Meeting Place Cannot Be Changed (1600) (Binary Search) 484A. Bits (1700) (Bit+Greedy) 778A. String Game (1700) (Binary Search) ...