Zero871015
【LeetCode】目錄
Try
HackMD
Zero871015
·
Follow
Last edited by
Zero871015
on
Nov 15, 2023
Linked with GitHub
Contributed by
19
【LeetCode】目錄
1. Two Sum
2. Add Two Numbers
3. Longest Substring Without Repeating Characters
4. Median of Two Sorted Arrays
*5. Longest Palindromic Substring
6. ZigZag Conversion
7. Reverse Integer
9. Palindrome Number
11. Container With Most Water
12. Integer to Roman
13. Roman to Integer
14. Longest Common Prefix
*15. 3Sum
17. Letter Combinations of a Phone Number
19. Remove Nth Node From End of List
20. Valid Parentheses
21. Merge Two Sorted Lists
24. Swap Nodes in Pairs
26. Remove Duplicates from Sorted Array
27. Remove Element
33. Search in Rotated Sorted Array
35. Search Insert Position
36. Valid Sudoku
38. Count and Say
39. Combination Sum
*42. Trapping Rain Water
43. Multiply Strings
45. Jump Game II
46. Permutations
47. Permutations II
48. Rotate Image
49. Group Anagrams
50. Pow(x, n)
*53. Maximum Subarray
54. Spiral Matrix
55. Jump Game
56. Merge Intervals
58. Length of Last Word
59. Spiral Matrix II
*60. Permutation Sequence
*61. Rotate List
62. Unique Paths
63. Unique Paths II
64. Minimum Path Sum
66. Plus One
67. Add Binary
69. Sqrt(x)
70. Climbing Stairs
72. Edit Distance
73. Set Matrix Zeroes
74. Search a 2D Matrix
78. Subsets
79. Word Search
83. Remove Duplicates from Sorted List
94. Binary Tree Inorder Traversal
98. Validate Binary Search Tree
100. Same Tree
101. Symmetric Tree
102. Binary Tree Level Order Traversal
103. Binary Tree Zigzag Level Order Traversal
104. Maximum Depth of Binary Tree
105. Construct Binary Tree from Preorder and Inorder Traversal
107. Binary Tree Level Order Traversal II
108. Convert Sorted Array to Binary Search Tree
109. Convert Sorted List to Binary Search Tree
110. Balanced Binary Tree
111. Minimum Depth of Binary Tree
112. Path Sum
113. Path Sum II
118. Pascal’s Triangle
119. Pascal’s Triangle II
120. Triangle
121. Best Time to Buy and Sell Stock
122. Best Time to Buy and Sell Stock II
124. Binary Tree Maximum Path Sum
130. Surrounded Regions
136. Single Number
137. Single Number II
141. Linked List Cycle
143. Reorder List
144. Binary Tree Preorder Traversal
145. Binary Tree Postorder Traversal
146. LRU Cache
150. Evaluate Reverse Polish Notation
155. Min Stack
169. Majority Element
171. Excel Sheet Column Number
198. House Robber
200. Number of Islands
201. Bitwise AND of Numbers Range
202. Happy Number
206. Reverse Linked List
207. Course Schedule
208. Implement Trie (Prefix Tree)
221. Maximal Square
226. Invert Binary Tree
230. Kth Smallest Element in a BST
231. Power of Two
237. Delete Node in a Linked List
238. Product of Array Except Self
257. Binary Tree Paths
258. Add Digits
263. Ugly Number
268. Missing Number
278. First Bad Version
283. Move Zeroes
289. Game of Life
292. Nim Game
299. Bulls and Cows
328. Odd Even Linked List
338. Counting Bits
343. Integer Break
344. Reverse String
367. Valid Perfect Square
383. Ransom Note
387. First Unique Character in a String
392. Is Subsequence
402. Remove K Digits
406. Queue Reconstruction by Height
451. Sort Characters By Frequency
468. Validate IP Address
476. Number Complement
518. Coin Change 2
525. Contiguous Array
528. Random Pick with Weight
540. Single Element in a Sorted Array
543. Diameter of Binary Tree
560. Subarray Sum Equals K
678. Valid Parenthesis String
700. Search in a Binary Search Tree
724. Find Pivot Index
733. Flood Fill
766. Toeplitz Matrix
771. Jewels and Stones
844. Backspace String Compare
876. Middle of the Linked List
973. K Closest Points to Origin
986. Interval List Intersections
993. Cousins in Binary Tree
997. Find the Town Judge
1008. Construct Binary Search Tree from Preorder Traversal
1009. Complement of Base 10 Integer
1029. Two City Scheduling
1035. Uncrossed Lines
1046. Last Stone Weight
1137. N-th Tribonacci Number
1143. Longest Common Subsequence
1232. Check If It Is a Straight Line
1277. Count Square Submatrices with All Ones
1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
1306. Jump Game III
1319. Number of Operations to Make Network Connected
1351. Count Negative Numbers in a Sorted Matrix
1370. Increasing Decreasing String
1402. Reducing Dishes
1408. String Matching in an Array
1480. Running Sum of 1d Array
1491. Average Salary Excluding the Minimum and Maximum Salary
1493. Longest Subarray of 1's After Deleting One Element
1512. Number of Good Pairs
1572. Matrix Diagonal Sum
1641. Count Sorted Vowel Strings
1669. Merge In Between Linked Lists
1759. Count Number of Homogenous Substrings
1768. Merge Strings Alternately
1822. Sign of the Product of an Array
1846. Maximum Element After Decreasing and Rearranging
1971. Find if Path Exists in Graph
2215. Find the Difference of Two Arrays
2405. Optimal Partition of String
2439. Minimize Maximum of Array
以下為沒有在Problems的題目
大多為活動、比賽中出現的題目。
Counting Elements
Perform String Shifts
Leftmost Column with at Least a One
First Unique Number
Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
Some Info
程式使用C++
我書讀得少,你不要嗆我
題號前有標註,代表明顯可以寫得更好,只是我累了
因 hackmd 改版,預設權限改變,如果有設定錯誤無法閱讀的網頁,可留言或用 mail 告知(mail 較快),感謝
Day: 04/28/19
Last Update: 11/15/23
Contact:
zero871015@gmail.com
Web:
Zerone
tags:
LeetCode
C++
19
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up
Comment