2023-LEETCODE(c++)

Lucas-TY

type
status
date
slug
summary
tags
category
icon
password
 
Sep 21, 2022
2. Add Two Numbers
19. Remove Nth Node From End of List
21. Merge Two Sorted Lists
23. Merge k Sorted Lists
24. Swap Nodes in Pairs
25. Reverse Nodes in k-Group
61. Rotate List
92. Reverse Linked List II
86. Partition List
142. Linked List Cycle II
160. Intersection of Two Linked Lists
234. Palindrome Linked List
Sep 22, 2022
1. Two Sum
5. Longest Palindromic Substring
167. Two Sum II - Input Array Is Sorted
26. Remove Duplicates from Sorted Array
27. Remove Element
283. Move Zeroes
344. Reverse String
303. Range Sum Query - Immutable
预先计算
304. Range Sum Query 2D - Immutable
notion image
1094. Car Pooling
1109. Corporate Flight Bookings
151. Reverse Words in a String
48. Rotate Image
54. Spiral Matrix
59. Spiral Matrix II
3. Longest Substring Without Repeating Characters
438. Find All Anagrams in a String
76. Minimum Window Substring
567. Permutation in String
Sep 24, 2022
187. Repeated DNA Sequences
Window Hash solution
 
704. Binary Search
34. Find First and Last Position of Element in Sorted Array 👌区间二分查找
Sep 25, 2022
528. Random Pick with Weight
1011. Capacity To Ship Packages Within D Days
410. Split Array Largest Sum
875. Koko Eating Bananas
870. Advantage Shuffle
380. Insert Delete GetRandom O(1)
710. Random Pick with Blacklist
1081. Smallest Subsequence of Distinct Characters
Sep 29, 2022
104. Maximum Depth of Binary Tree
144. Binary Tree Preorder Traversal
543. Diameter of Binary Tree
669. Trim a Binary Search Tree
124. Binary Tree Maximum Path Sum
515. Find Largest Value in Each Tree Row
226. Invert Binary Tree
116. Populating Next Right Pointers in Each Node
114. Flatten Binary Tree to Linked List
Oct 6, 2022
654. Maximum Binary Tree
105. Construct Binary Tree from Preorder and Inorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
297. Serialize and Deserialize Binary Tree
Oct 14, 2022
912. Sort an Array
315. Count of Smaller Numbers After Self
Oct 21, 2022 Tiktok
323. Number of Connected Components in an Undirected Graph
945. Minimum Increment to Make Array Unique
62. Unique Paths