My Solutions to LeetCode COMMON INTERVIEW QUESTIONS are listed as follows (9 Chapters) (using Python)
Chapter 1 Array String
- 1_Two_Sum_Easy
- 3_Longest_Substring_Without_Repeating_Characters_Medium
- 5_Longest_Palindromic_Substring_Medium
- 8_String_to_Integer_atoi_Medium
- 28_Implement_strStr_Easy
- 65_Valid_Number_Hard
- 125_Valid_Palindrome_Easy
- 151_Reverse_Words_in_a_String_Medium
- 167_Two_Sum_II_Input_array_is_sorted_Easy
Chapter 2 Math
Chapter 3 Linked_List
Chapter 4 Binary _Tree
- 98_Validate_Binary_Search_Tree_Medium
- 104_Maximum_Depth_of_Binary_Tree_Easy
- 108_Convert_Sorted_Array_to_Binary_Search_Tree_Easy
- 110_Balanced_Binary_Tree_Easy
- 111_Minimum_Depth_of_Binary_Tree_Easy
Chapter 5 Bit Manipulation
Chapter 6 Misc
Chapter 7 Stack
Chapter 8 Dynamic Programming
- 62_Unique_Paths_Medium
- 70_Climbing_Stairs_Easy
- 152_Maximum_Product_Subarray_Medium_dynamic_programming
- 152_Maximum_Product_Subarray_Medium_brute_force
Chapter 9 Binary Search
- 35_Search_Insert_Position_Easy
- 153_Find_Minimum_in_Rotated_Sorted_Array_Medium_O_n
- 153_Find_Minimum_in_Rotated_Sorted_Array_Medium_O_lgn
Reference