3.Longest Substring Without Repeating Characters
5. Longest Palindromic Substring
10. Regular Expression Matching
17. Letter Combinations of a Phone Number
19. Remove Nth Node From End of List
26. Remove Duplicates from Sorted Array
30. Substring with Concatenation of All Words
33. Search in Rotated Sorted Array
34. Find First and Last Position of Element in Sorted Array
80. Remove Duplicates from Sorted Array II
81. Search in Rotated Sorted Array II
82. Remove Duplicates from Sorted List II
83. Remove Duplicates from Sorted List
84. Largest Rectangle in Histogram
94. Binary Tree Inorder Traversal
95. Unique Binary Search Trees II
96. Unique Binary Search Trees
98. Validate Binary Search 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
106. Construct Binary Tree from Inorder and Postorder Traversal
107. Binary Tree Level Order Traversal II
108. Convert Sorted Array to Binary Search Tree
109. Convert Sorted List to Binary Search Tree
111. Minimum Depth of Binary Tree
114. Flatten Binary Tree to Linked List
116. Populating Next Right Pointers in Each Node
117. Populating Next Right Pointers in Each Node II
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
124. Binary Tree Maximum Path Sum
128. Longest Consecutive Sequence
132. Palindrome Partitioning II
138. Copy List with Random Pointer
144. Binary Tree Preorder Traversal
145. Binary Tree Postorder Traversal
Reading notes of book Algorithm(4th Algorithm),ISBN: 9787115293800. All java realization codes are placed in different packages.
I started learning the data struture systematically, I will list my notes in the order that I read the book.
- Blocking Queue
- Non Blocking Queue
- Array and String. (Question1_*)
- List. (Question2_*)
- Stack and Queue. (Question3_*)
- Tree and Graph. (Question4_*)
- Bit Operations. (Question5_*)
- Recursive and Dynamic programming. (Question9_*)