This is my Leetcode practice record.
230. Kth Smallest Element in a BST -- Follow ups, involves Greater Tree
and AVL Tree
.
LRU Cache
212 Word Search 2
28. Implement strStr() -- Optimized solutions: (1) Rabin-Karp (2) KMP
380. Insert Delete GetRandom O(1)
322 & 279 closely related
121. Best Time to Buy and Sell Stock
122. Best Time to Buy and Sell Stock II
123. Best Time to Buy and Sell Stock III
718. Maximum Length of Repeated Subarray
730. Count Different Palindromic Subsequences
2016. Maximum Difference Between Increasing Elements
329. Longest Increasing Path in a Matrix
104. Maximum Depth of Binary Tree
341. Flatten Nested List Iterator
153. Find Minimum in Rotated Sorted Array
719. Find K-th Smallest Pair Distance
19. Remove Nth Node From End of List
160. Intersection of Two Linked Lists
287. Find the Duplicate Number
295. Find Median from Data Stream
719. Find K-th Smallest Pair Distance
1209. Remove All Adjacent Duplicates in String II
116. Populating Next Right Pointers in Each Node
230. Kth Smallest Element in a BST
380. Insert Delete GetRandom O(1)
2225. Find Players With Zero or One Losses
350. Intersection of Two Arrays II
945. Minimum Increment to Make Array Unique
1010. Pairs of Songs With Total Durations Divisible by 60