Solutions
2 learning notes · 363 resources in this folder and its subfolders
Folders
2 Hasinng & Sets
0 learning notes · 7 resources
3 Stacks
0 learning notes · 7 resources
5 String
0 learning notes · 3 resources
6 Binary Search
0 learning notes · 9 resources
8 Linked List
0 learning notes · 8 resources
9 Trees & Tries
0 learning notes · 2 resources
10 Heap
0 learning notes · 5 resources
11 Graph
0 learning notes · 23 resources
12 Greedy
0 learning notes · 2 resources
13 Backtracking
1 learning notes · 10 resources
14 DP
1 learning notes · 22 resources
16 Bit Manipulation
0 learning notes · 5 resources
17 Math & Geometry
0 learning notes · 6 resources
18 Org
0 learning notes · 42 resources
Learning notes
No learning notes directly in this folder.
Course code & resources
code
- 0_Binary_Tree_Largest_Sum
- 0_Binary_Tree_Left_Side_View
- 0_Bottom_View_of_Binary_Tree
- 0_Top_View_of_Binary_Tree
- 0_Wine_Selling_Problem
- 1_Two_Sum
- 1_twoPointer
- 2_Add_Two_Numbers
- 3_Longest_Substring_Without_Repeating_Characters
- 4_Median_of_Two_Sorted_Arrays
- 5_Longest_Palindromic_Substring
- 7_Reverse_Integer
- 8_String_to_Integer
- 10_Regular_Expression_Matching
- 11_Container_With_Most_Water
- 12_Integer_to_Roman
- 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
- 22_Generate_Parentheses
- 23_Merge_k_Sorted_Lists
- 25_Reverse_Nodes_in_k-Group
- 31_Next_Permutation
- 33_Search_In_Rotated_Sorted_Array
- 36_Valid_Sudoku
- 39_Combination_Sum
- 40_Combination_Sum_II
- 42_Trapping_Rain_Water
- 43_Multiply_Strings
- 45_Jump_Game_II
- 46_Permutations
- 48 Rotate Image
- 49_Group_Anagrams
- 50_Pow_x_n
- 51_N_Queens
- 53_Maximum_Subarray
- 54 Spiral Matrix
- 55_Jump_Game
- 56_Merge_Intervals
- 57_Insert_Interval
- 62_Unique_Paths
- 66_Plus_One
- 70_Climbing_Stairs
- 72_Edit_Distance
- 73_Set_Matrix_Zeroes
- 74_Search_a_2D_Matrix
- 75_Sort_Colors
- 76_Minimum_Window_Substring
- 78_Subsets
- 79_Word_Search
- 84_Largest_Rectangle_In_Histogram
- 88_Merge_Sorted_Array
- 90_Subsets_II
- 91_Decode_Ways
- 97_Interleaving_String
- 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
- 106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal
- 107_Binary_Tree_Level_Order_Traversal_II
- 108_Convert_Sorted_Array_to_Binary_Search_Tree
- 110_Balanced_Binary_Tree
- 113_Path_Sum_II
- 115_Distinct_Subsequences
- 116_Populating_Next_Right_Pointers_in_Each_Node
- 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
- 125_Valid_Palindrome
- 127_Word_Ladder
- 128_Longest_Consecutive_Sequence
- 130_Surrounded_Regions
- 131_Palindrome_Partitioning
- 133_Clone_Graph
- 136_Single_Number
- 138_Copy_List_with_Random_Pointer
- 139_Word_Break
- 140_Word_Break_II
- 141_Linked_List_Cycle
- 143_Reorder_List
- 146_LRU_Cache
- 150_Evaluate_Reverse_Polish_Notation
- 152_Maximum_Product_Subarray
- 153_Find_Minimum_In_Rotated_Sorted_Array
- 155_Min_Stack
- 167_Two_Sum_II
- 169_Majority_Element
- 188_Best_Time_to_Buy_and_Sell_Stock_IV
- 189_Rotate_Array
- 190_Reverse_Bits
- 191_Number_of_1_Bits
- 198_House_Robber
- 199_Binary_Tree_Right_Side_View
- 200_Number_of_Islands
- 202_Happy_Number
- 206_Reverse_Linked_List
- 207_Course_Schedule
- 208_Implement_Trie_(Prefix_Tree)
- 209_Minimum_Size_Subarray_Sum
- 210_Course_Schedule_II
- 211_Design_Add_and_Search_Words_Data_Structure
- 212_Word_Search_II
- 213_House_Robber_II
- 215_Kth_Largest_Element_in_an_Array
- 217_Contains_Duplicate
- 221_Maximal_Square
- 226_Invert_Binary_Tree
- 228 Summary Ranges
- 229_Majority_Element_II
- 230_Kth_Smallest_Element_in_a_BST
- 235_Lowest_Common_Ancestor_of_a_Binary_Search_Tree
- 238_Product_of_Array_Except_Self
- 239_Sliding_Window_Maximum
- 242_Valid_Anagram
- 252_Meeting_Rooms
- 253_Meeting_Rooms_II
- 261_Graph_Valid_Tree
- 268_Missing_Number
- 271_Encode_and_Decode_Strings
- 286_Walls_and_Gates
- 287_Find_the_Duplicate_Number
- 295_Find_Median_from_Data_Stream
- 297_Serialize_and_Deserialize_Binary_Tree
- 300_Longest_Increasing_Subsequence
- 309_Best_Time_to_Buy_and_Sell_Stock_with_Cooldown
- 312_Burst_Balloons
- 322_Coin_Change
- 323_Number_of_Connected_Components_in_an_Undirected_Graph
- 329_Longest_Increasing_Path_in_a_Matrix
- 332_Reconstruct_Itinerary
- 338_Counting_Bits
- 344_Reverse_String
- 347_Top_K_Frequent_Elements
- 348_Design_Tic_Tac_Toe
- 349_Intersection_of_Two_Arrays
- 354_Russian_Doll_Envelopes
- 355_Design_Twitter
- 371_Sum_of_Two_Integers
- 416_Partition_Equal_Subset_Sum
- 417_Pacific_Atlantic_Water_Flow
- 424_Longest_Repeating_Character_Replacement
- 426_Convert_Binary_Search_Tree_to_Sorted_Doubly_Linked_List
- 435_Non_Overlapping_Intervals
- 450_Count_Good_Nodes_in_Binary_Tree
- 494_Target_Sum
- 518_Coin_Change_II
- 538_Convert_BST_to_Greater_Tree
- 543_Diameter_of_Binary_Tree
- 545_Boundary_of_Binary_Tree
- 567_Permutation_in_String
- 572_Subtree_of_Another_Tree
- 606_Construct_String_from_Binary_Tree
- 621_Task_Scheduler
- 647_Palindromic_Substrings
- 652_Find_Duplicate_Subtrees
- 678_Valid_Parenthesis_String
- 684_Redundant_Connection
- 688_Knight_Probability_in_Chessboard
- 694_Number_of_Distinct_Islands
- 695_Max_Area_of_Island
- 703_Kth_Largest_Element_in_a_Stream
- 704_Binary_Search
- 735_Asteroid_Collision
- 739_Daily_Temperatures
- 743_Network_Delay_Time
- 746_Min_Cost_Climbing_Stairs
- 752_Open_the_Lock
- 763_Partition_Labels
- 774_Minimize_Max_Distance_to_Gas_Station
- 778_Swim_in_Rising_Water
- 787_Cheapest_Flights_Within_K_Stops
- 846_Hand_of_Straights
- 853_Car_Fleet
- 863_All_Nodes_Distance_K_in_Binary_Tree
- 875_Koko_Eating_Bananas
- 916_Word_Subsets
- 937_Reorder_Data_in_Log_Files
- 973_K_Closest_Points_to_Origin
- 977 Squares of a Sorted Array
- 981_Time_Based_Key_Value_Store
- 987_Vertical_Order_Traversal_of_a_Binary_Tree
- 994_Rotting_Oranges
- 1013_Partition_Array_Into_Three_Parts_With_Equal_Sum
- 1046_Last_Stone_Weight
- 1103_Distribute_Candies_to_People
- 1143_Longest_Common_Subsequence
- 1152_Analyze_User_Website_Visit_Pattern
- 1213_Intersection_of_Three_Sorted_Arrays
- 1268_Search_Suggestions_System
- 1373_Maximum_Sum_BST_in_Binary_Tree
- 1392_Longest_Happy_Prefix
- 1478_Allocate_Mailboxes
- 1483_Minimum_Interval_to_Include_Each_Query
- 1584_Min_Cost_to_Connect_All_Points
- 1899_Merge_Triplets_to_Form_Target_Triplet
- 2013_Detect_Squares
- 2091_Removing_Minimum_and_Maximum_From_Array
- 2108_Find_First_Palindromic_String_in_the_Array
- 2134_Minimum_Swaps_to_Group_All_1s_Together_II
- 2149_Rearrange_Array_Elements_by_Sign
- 2239 Find Closest Number to Zero
- 2583_Kth_Largest_Sum_in_a_Binary_Tree
- 3193_Count_the_Number_of_Inversions
- helpers