📈
notes
search
Ctrlk
  • README
  • t
  • 0001_Two_Sumchevron-right
  • 0002_Add_Two_Numberschevron-right
  • 0003_Longest_Substring_Without_Repeating_Characterschevron-right
  • 0004_Median_of_Two_Sorted_Arrayschevron-right
  • 0005_Longest_Palindromic_Substringchevron-right
  • 0006_ZigZag_Conversionchevron-right
  • 0007_Reverse_Integerchevron-right
  • 0008_String_to_Integer_(atoi)chevron-right
  • 0009_Palindrome_Numberchevron-right
  • 0010_Regular_Expression_Matchingchevron-right
  • 0011_Container_With_Most_Waterchevron-right
  • 0012_Integer_to_Romanchevron-right
  • 0013_Roman_to_Integerchevron-right
  • 0014_Longest_Common_Prefixchevron-right
  • 0015_3Sumchevron-right
  • 0016_3Sum_Closestchevron-right
  • 0017_Letter_Combinations_of_a_Phone_Numberchevron-right
  • 0018_4Sumchevron-right
  • 0019_Remove_Nth_Node_From_End_of_Listchevron-right
  • 0020_Valid_Parentheseschevron-right
  • 0021_Merge_Two_Sorted_Listschevron-right
  • 0022_Generate_Parentheseschevron-right
  • 0023_Merge_k_Sorted_Listschevron-right
  • 0024_Swap_Nodes_in_Pairschevron-right
  • 0025_Reverse_Nodes_in_k-Groupchevron-right
  • 0026_Remove_Duplicates_from_Sorted_Arraychevron-right
  • 0027_Remove_Elementchevron-right
  • 0028_Implement_strStr()chevron-right
  • 0029_Divide_Two_Integerschevron-right
  • 0030_Substring_with_Concatenation_of_All_Wordschevron-right
  • 0031_Next_Permutationchevron-right
  • 0032 Longest Valid Parentheseschevron-right
  • 0033_Search_in_Rotated_Sorted_Arraychevron-right
  • 0034_Find_First_and_Last_Position_of_Element_in_Sorted_Arraychevron-right
  • 0035_Search_Insert_Positionchevron-right
  • 0036_Valid_Sudokuchevron-right
  • 0037_Sudoku_Solverchevron-right
  • 0038_Count_and_Saychevron-right
  • 0039_Combination_Sumchevron-right
  • 0040_Combination_Sum_IIchevron-right
  • 0041_First_Missing_Positivechevron-right
  • 0042_Trapping_Rain_Waterchevron-right
  • 0043_Multiply_Stringschevron-right
  • 0044_Wildcard_Matchingchevron-right
  • 0045_Jump_Game_IIchevron-right
  • 0046_Permutationschevron-right
  • 0047_Permutations_IIchevron-right
  • 0048_Rotate_Imagechevron-right
  • 0049_Group_Anagramschevron-right
  • 0050_Pow(x, n)chevron-right
  • 0051_N-Queenschevron-right
  • 0052_N-Queens_IIchevron-right
  • 0053_Maximum_Subarraychevron-right
  • 0054_Spiral_Matrixchevron-right
  • 0055_Jump_Gamechevron-right
  • 0056_Merge_Intervalschevron-right
  • 0057_Insert_Intervalchevron-right
  • 0058_Length_of_Last_Wordchevron-right
  • 0059_Spiral_Matrix_IIchevron-right
  • 0060_Permutation_Sequencechevron-right
  • 0061_Rotate_Listchevron-right
  • 0062_Unique_Pathschevron-right
  • 0063_Unique_Paths_IIchevron-right
  • 0064_Minimum_Path_Sumchevron-right
  • 0065_Valid_Numberchevron-right
  • 0066_Plus_Onechevron-right
  • 0067_Add_Binarychevron-right
  • 0068_Text_Justificationchevron-right
  • 0069_Sqrt(x)chevron-right
  • 0070_Climbing_Stairschevron-right
  • 0071_Simplify_Pathchevron-right
  • 0072_Edit_Distancechevron-right
  • 0073_Set_Matrix_Zeroeschevron-right
  • 0074_Search_a_2D_Matrixchevron-right
  • 0075_Sort_Colorschevron-right
  • 0076_Minimum_Window_Substringchevron-right
  • 0077_Combinationschevron-right
  • 0078_Subsetschevron-right
  • 0079_Word_Searchchevron-right
  • 0080_Remove_Duplicates_from_Sorted_Array_IIchevron-right
  • 0081_Search_in_Rotated_Sorted_Array_IIchevron-right
  • 0082_Remove_Duplicates_from_Sorted_List_IIchevron-right
  • 0083_Remove_Duplicates_from_Sorted_Listchevron-right
  • 0084_Largest_Rectangle_in_Histogramchevron-right
  • 0085_Maximal_Rectanglechevron-right
  • 0086_Partition_Listchevron-right
  • 0087_Scramble_Stringchevron-right
  • 0088_Merge_Sorted_Arraychevron-right
  • 0090_Subsets_IIchevron-right
  • 0091_Decode_Wayschevron-right
  • 0092_Reverse_Linked_List_IIchevron-right
  • 0093_Restore_IP_Addresseschevron-right
  • 0094_Binary_Tree_Inorder_Traversalchevron-right
  • 0095_Unique_Binary_Search_Trees_IIchevron-right
  • 0096_Unique_Binary_Search_Treeschevron-right
  • 0097_Interleaving_Stringchevron-right
  • 0098_Validate_Binary_Search_Treechevron-right
  • 0099_Recover_Binary_Search_Treechevron-right
  • 0100_Same_Treechevron-right
  • 0101_Symmetric_Treechevron-right
  • 0102_Binary_Tree_Level_Order_Traversalchevron-right
  • 0103_Binary_Tree_Zigzag_Level_Order_Traversalchevron-right
  • 0104_Maximum_Depth_of_Binary_Treechevron-right
  • 0105_Construct_Binary_Tree_from_Preorder_and_Inorder_Traversalchevron-right
  • 0106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversalchevron-right
  • 0107_Binary_Tree_Level_Order_Traversal_IIchevron-right
  • 0108_Convert_Sorted_Array_to_Binary_Search_Treechevron-right
  • 0109_Convert_Sorted_List_to_Binary_Search_Treechevron-right
  • 0110_Balanced_Binary_Treechevron-right
  • 0111_Minimum_Depth_of_Binary_Treechevron-right
  • 0112_Path_Sumchevron-right
  • 0113_Path_Sum_IIchevron-right
  • 0114_Flatten_Binary_Tree_to_Linked_Listchevron-right
  • 0115_Distinct_Subsequenceschevron-right
  • 0116_Populating_Next_Right_Pointers_in_Each_Nodechevron-right
  • 0117_Populating_Next_Right_Pointers_in_Each_Node_IIchevron-right
  • 0118_Pascal's_Trianglechevron-right
  • 0119_Pascal's_Triangle_IIchevron-right
  • 0120_Trianglechevron-right
  • 0121_Best_Time_to_Buy_and_Sell_Stockchevron-right
  • 0122_Best_Time_to_Buy_and_Sell_Stock_IIchevron-right
  • 0123_Best_Time_to_Buy_and_Sell_Stock_IIIchevron-right
  • 0124_Binary_Tree_Maximum_Path_Sumchevron-right
  • 0125_Valid_Palindromechevron-right
  • 0126_Word_Ladder_IIchevron-right
  • 0127_Word_Ladderchevron-right
  • 0128_Longest_Consecutive_Sequencechevron-right
  • 0129_Sum_Root_to_Leaf_Numberschevron-right
  • 0130_Surrounded_Regionschevron-right
  • 0132_Palindrome_Partitioning_IIchevron-right
  • 0133_Clone_Graphchevron-right
  • 0134_Gas_Stationchevron-right
  • 0135_Candychevron-right
  • 0136_Single_Numberchevron-right
  • 0137_Single_Number_IIchevron-right
  • 0138_Copy_List_with_Random_Pointerchevron-right
  • 0139_Word_Breakchevron-right
  • 0141_Linked_List_Cyclechevron-right
  • 0142_Linked_List_Cycle_IIchevron-right
  • 0144_Binary_Tree_Preorder_Traversalchevron-right
  • 0145_Binary_Tree_Postorder_Traversalchevron-right
  • 0146_LRU_Cachechevron-right
  • 0147_Insertion_Sort_Listchevron-right
  • 0148_Sort_Listchevron-right
  • 0149_Max_Points_on_a_Linechevron-right
  • 0150_Evaluate_Reverse_Polish_Notationchevron-right
  • 0151_Reverse_Words_in_a_Stringchevron-right
  • 0152_Maximum_Product_Subarraychevron-right
  • 0153_Find_Minimum_in_Rotated_Sorted_Arraychevron-right
  • 0154_Find_Minimum_in_Rotated_Sorted_Array_IIchevron-right
  • 0155_Min_Stackchevron-right
  • 0157_Read_N_Characters_Given_Read4chevron-right
  • 0159_Longest_Substring_with_At_Most_Two_Distinct_Characterschevron-right
  • 0160_Intersection_of_Two_Linked_Listschevron-right
  • 0162_Find_Peak_Elementchevron-right
  • 0163_Missing_Rangeschevron-right
  • 0164_Maximum_Gapchevron-right
  • 0165_Compare_Version_Numberschevron-right
  • 0166_Fraction_to_Recurring_Decimalchevron-right
  • 0167_Two_Sum_II_-_Input_array_is_sortedchevron-right
  • 0168_Excel_Sheet_Column_Titlechevron-right
  • 0169_Majority_Elementchevron-right
  • 0170_Two_Sum_III_-_Data_structure_designchevron-right
  • 0171_Excel_Sheet_Column_Numberchevron-right
  • 0172_Factorial_Trailing_Zeroeschevron-right
  • 0173_Binary_Search_Tree_Iteratorchevron-right
  • 0175_Combine_Two_Tableschevron-right
  • 0176_Second_Highest_Salarychevron-right
  • 0177_Nth_Highest_Salarychevron-right
  • 0178_Rank_Scoreschevron-right
  • 0179_Largest_Numberchevron-right
  • 0180_Consecutive_Numberschevron-right
  • 0181_Employees_Earning_More_Than_Their_Managerschevron-right
  • 0182_Duplicate_Emailschevron-right
  • 0183_Customers_Who_Never_Orderchevron-right
  • 0184_Department_Highest_Salarychevron-right
  • 0185_Department_Top_Three_Salarieschevron-right
  • 0187_Repeated_DNA_Sequenceschevron-right
  • 0188_Best_Time_to_Buy_and_Sell_Stock_IVchevron-right
  • 0189_Rotate_Arraychevron-right
  • 0190_Reverse_Bitschevron-right
  • 0191_Number_of_1_Bitschevron-right
  • 0196_Delete_Duplicate_Emailschevron-right
  • 0197_Rising_Temperaturechevron-right
  • 0198_House_Robberchevron-right
  • 0199_Binary_Tree_Right_Side_Viewchevron-right
  • 0200_Number_of_Islandschevron-right
  • 0201_Bitwise_AND_of_Numbers_Rangechevron-right
  • 0202_Happy_Numberchevron-right
  • 0203_Remove_Linked_List_Elementschevron-right
  • 0204_Count_Primeschevron-right
  • 0205_Isomorphic_Stringschevron-right
  • 0206_Reverse_Linked_Listchevron-right
  • 0207_Course_Schedulechevron-right
  • 0208_Implement_Trie_(Prefix_Tree)chevron-right
  • 0210_Course_Schedule_IIchevron-right
  • 0211_Add_and_Search_Word_-_Data_structure_designchevron-right
  • 0213_House_Robber_IIchevron-right
  • 0215_Kth_Largest_Element_in_an_Arraychevron-right
  • 0217_Contains_Duplicatechevron-right
  • 0218_The_Skyline_Problemchevron-right
  • 0219_Contains_Duplicate_IIchevron-right
  • 0220_Contains_Duplicate_IIIchevron-right
  • 0221_Maximal_Squarechevron-right
  • 0222_Count_Complete_Tree_Nodeschevron-right
  • 0223_Rectangle_Areachevron-right
  • 0224_Basic_Calculatorchevron-right
  • 0225_Implement_Stack_using_Queueschevron-right
  • 0226_Invert_Binary_Treechevron-right
  • 0227_Basic_Calculator_IIchevron-right
  • 0228_Summary_Rangeschevron-right
  • 0229_Majority_Element_IIchevron-right
  • 0231_Power_of_Twochevron-right
  • 0232_Implement_Queue_using_Stackschevron-right
  • 0233_Number_of_Digit_Onechevron-right
  • 0234_Palindrome_Linked_Listchevron-right
  • 0235_Lowest_Common_Ancestor_of_a_Binary_Search_Treechevron-right
  • 0236_Lowest_Common_Ancestor_of_a_Binary_Treechevron-right
  • 0237_Delete_Node_in_a_Linked_Listchevron-right
  • 0239_Sliding_Window_Maximumchevron-right
  • 0240_Search_a_2D_Matrix_IIchevron-right
  • 0242_Valid_Anagramchevron-right
  • 0243_Shortest_Word_Distancechevron-right
  • 0244_Shortest_Word_Distance_IIchevron-right
  • 0246_Strobogrammatic_Numberchevron-right
  • 0251_Flatten_2D_Vectorchevron-right
  • 0252_Meeting_Roomschevron-right
  • 0253_Meeting_Rooms_IIchevron-right
    • 思路1 min heap
  • 0256_Paint_Housechevron-right
  • 0257_Binary_Tree_Pathschevron-right
  • 0258_Add_Digitschevron-right
  • 0260_Single_Number_IIIchevron-right
  • 0261_Graph_Valid_Treechevron-right
  • 0262_Trips_and_Userschevron-right
  • 0263_Ugly_Numberchevron-right
  • 0264_Ugly_Number_IIchevron-right
  • 0266_Palindrome_Permutationchevron-right
  • 0268_Missing_Numberchevron-right
  • 0270_Closest_Binary_Search_Tree_Valuechevron-right
  • 0273_Integer_to_English_Wordschevron-right
  • 0274_H-Indexchevron-right
  • 0276_Paint_Fencechevron-right
  • 0279_Perfect_Squareschevron-right
  • 0283_Move_Zeroeschevron-right
  • 0289_Game_of_Lifechevron-right
  • 0290_Word_Patternchevron-right
  • 0293_Flip_Gamechevron-right
  • 0295_Find_Median_from_Data_Streamchevron-right
  • 0299_Bulls_and_Cowschevron-right
  • 0300_Longest_Increasing_Subsequencechevron-right
  • 0301_Remove_Invalid_Parentheseschevron-right
  • 0303_Range_Sum_Query_-_Immutablechevron-right
  • 0304_Range_Sum_Query_2D_-_Immutablechevron-right
  • 0309_Best_Time_to_Buy_and_Sell_Stock_with_Cooldownchevron-right
  • 0310_Minimum_Height_Treeschevron-right
  • 0313_Super_Ugly_Numberchevron-right
  • 0318_Maximum_Product_of_Word_Lengthschevron-right
  • 0319_Bulb_Switcherchevron-right
  • 0321_Create_Maximum_Numberchevron-right
  • 0322_Coin_Changechevron-right
  • 0323_Number_of_Connected_Components_in_an_Undirected_Graphchevron-right
  • 0326_Power_of_Threechevron-right
  • 0328_Odd_Even_Linked_Listchevron-right
  • 0331_Verify_Preorder_Serialization_of_a_Binary_Treechevron-right
  • 0332_Reconstruct_Itinerarychevron-right
  • 0335_Self_Crossingchevron-right
  • 0338_Counting_Bitschevron-right
  • 0340_Longest_Substring_with_At_Most_K_Distinct_Characterschevron-right
  • 0341_Flatten_Nested_List_Iteratorchevron-right
  • 0342_Power_of_Fourchevron-right
  • 0343_Integer_Breakchevron-right
  • 0344_Reverse_Stringchevron-right
  • 0345_Reverse_Vowels_of_a_Stringchevron-right
  • 0347_Top_K_Frequent_Elementschevron-right
  • 0349_Intersection_of_Two_Arrayschevron-right
  • 0350_Intersection_of_Two_Arrays_IIchevron-right
  • 0352_Data_Stream_as_Disjoint_Intervalschevron-right
  • 0354_Russian_Doll_Envelopeschevron-right
  • 0355_Design_Twitterchevron-right
  • 0359_Logger_Rate_Limiterchevron-right
  • 0367_Valid_Perfect_Squarechevron-right
  • 0371_Sum_of_Two_Integerschevron-right
  • 0373_Find_K_Pairs_with_Smallest_Sumschevron-right
  • 0375_Guess_Number_Higher_or_Lower_IIchevron-right
  • 0376_Wiggle_Subsequencechevron-right
  • 0378_Kth_Smallest_Element_in_a_Sorted_Matrixchevron-right
  • 0381_Insert_Delete_GetRandom_O(1)_-_Duplicates_allowedchevron-right
  • 0382_Linked_List_Random_Nodechevron-right
  • 0383_Ransom_Notechevron-right
  • 0384_Shuffle_an_Arraychevron-right
  • 0387_First_Unique_Character_in_a_Stringchevron-right
  • 0389_Find_the_Differencechevron-right
  • 0391_Perfect_Rectanglechevron-right
  • 0392_Is_Subsequencechevron-right
  • 0395_Longest_Substring_with_At_Least_K_Repeating_Characterschevron-right
  • 0397_Integer_Replacementchevron-right
  • 0399_Evaluate_Divisionchevron-right
  • 0401_Binary_Watchchevron-right
  • 0402_Remove_K_Digitschevron-right
  • 0403_Frog_Jumpchevron-right
  • 0404_Sum_of_Left_Leaveschevron-right
  • 0406_Queue_Reconstruction_by_Heightchevron-right
  • 0407_Trapping_Rain_Water_IIchevron-right
  • 0408_Valid_Word_Abbreviationchevron-right
  • 0412_Fizz_Buzzchevron-right
  • 0413_Arithmetic_Sliceschevron-right
  • 0415_Add_Stringschevron-right
  • 0416_Partition_Equal_Subset_Sumchevron-right
  • 0421_Maximum_XOR_of_Two_Numbers_in_an_Arraychevron-right
  • 0424_Longest_Repeating_Character_Replacementchevron-right
  • 0434_Number_of_Segments_in_a_Stringchevron-right
  • 0435_Non-overlapping_Intervalschevron-right
  • 0437_Path_Sum_IIIchevron-right
  • 0441_Arranging_Coinschevron-right
  • 0443_String_Compressionchevron-right
  • 0444_Sequence_Reconstructionchevron-right
  • 0445_Add_Two_Numbers_IIchevron-right
  • 0446_Arithmetic_Slices_II_-_Subsequencechevron-right
  • 0447_Number_of_Boomerangschevron-right
  • 0448_Find_All_Numbers_Disappeared_in_an_Arraychevron-right
  • 0450_Delete_Node_in_a_BSTchevron-right
  • 0451_Sort_Characters_By_Frequencychevron-right
  • 0452_Minimum_Number_of_Arrows_to_Burst_Balloonschevron-right
  • 0453_Minimum_Moves_to_Equal_Array_Elementschevron-right
  • 0454_4Sum_IIchevron-right
  • 0455_Assign_Cookieschevron-right
  • 0456_132_Patternchevron-right
  • 0458_Poor_Pigschevron-right
  • 0459_Repeated_Substring_Patternchevron-right
  • 0460_LFU_Cachechevron-right
  • 0461_Hamming_Distancechevron-right
  • 0463_Island_Perimeterchevron-right
  • 0474_Ones_and_Zeroeschevron-right
  • 0476_Number_Complementchevron-right
  • 0477_Total_Hamming_Distancechevron-right
  • 0480_Sliding_Window_Medianchevron-right
  • 0483_Smallest_Good_Basechevron-right
  • 0485_Max_Consecutive_Oneschevron-right
  • 0488_Zuma_Gamechevron-right
  • 0492_Construct_the_Rectanglechevron-right
  • 0493_Reverse_Pairschevron-right
  • 0494_Target_Sumchevron-right
  • 0495_Teemo_Attackingchevron-right
  • 0496_Next_Greater_Element_Ichevron-right
  • 0501_Find_Mode_in_Binary_Search_Treechevron-right
  • 0502_IPOchevron-right
  • 0503_Next_Greater_Element_IIchevron-right
  • 0504_Base_7chevron-right
  • 0506_Relative_Rankschevron-right
  • 0509_Fibonacci_Numberchevron-right
  • 0511_Game_Play_Analysis_Ichevron-right
  • 0512_Game_Play_Analysis_IIchevron-right
  • 0513_Find_Bottom_Left_Tree_Valuechevron-right
  • 0514_Freedom_Trailchevron-right
  • 0516_Longest_Palindromic_Subsequencechevron-right
  • 0518_Coin_Change_2chevron-right
  • 0520_Detect_Capitalchevron-right
  • 0521_Longest_Uncommon_Subsequence_Ichevron-right
  • 0523_Continuous_Subarray_Sumchevron-right
  • 0524_Longest_Word_in_Dictionary_through_Deletingchevron-right
  • 0525_Contiguous_Arraychevron-right
  • 0526_Beautiful_Arrangementchevron-right
  • 0528_Random_Pick_with_Weightchevron-right
  • 0530_Minimum_Absolute_Difference_in_BSTchevron-right
  • 0534_Game_Play_Analysis_IIIchevron-right
  • 0538_Convert_BST_to_Greater_Treechevron-right
  • 0540_Single_Element_in_a_Sorted_Arraychevron-right
  • 0541_Reverse_String_IIchevron-right
  • 0542_01_Matrixchevron-right
  • 0543_Diameter_of_Binary_Treechevron-right
  • 0547_Number_of_Provinceschevron-right
  • 0550_Game_Play_Analysis_IVchevron-right
  • 0551_Student_Attendance_Record_Ichevron-right
  • 0552_Student_Attendance_Record_IIchevron-right
  • 0556_Next_Greater_Element_IIIchevron-right
  • 0559_Maximum_Depth_of_N-ary_Treechevron-right
  • 0560_Subarray_Sum_Equals_Kchevron-right
  • 0561_Array_Partition_Ichevron-right
  • 0563_Binary_Tree_Tiltchevron-right
  • 0566_Reshape_the_Matrixchevron-right
  • 0567_Permutation_in_Stringchevron-right
  • 0570_Managers_with_at_Least_5_Direct_Reportschevron-right
  • 0572_Subtree_of_Another_Treechevron-right
  • 0574_Winning_Candidatechevron-right
  • 0575_Distribute_Candieschevron-right
  • 0577_Employee_Bonuschevron-right
  • 0578_Get_Highest_Answer_Rate_Questionchevron-right
  • 0580_Count_Student_Number_in_Departmentschevron-right
  • 0581_Shortest_Unsorted_Continuous_Subarraychevron-right
  • 0583_Delete_Operation_for_Two_Stringschevron-right
  • 0584_Find_Customer_Refereechevron-right
  • 0585_Investments_in_2016chevron-right
  • 0586_Customer_Placing_the_Largest_Number_of_Orderschevron-right
  • 0595_Big_Countrieschevron-right
  • 0596_Classes_More_Than_5_Studentschevron-right
  • 0597_Friend_Requests_I:_Overall_Acceptance_Ratechevron-right
  • 0602_Friend_Requests_II:_Who_Has_the_Most_Friendschevron-right
  • 0603_Consecutive_Available_Seatschevron-right
  • 0605_Can_Place_Flowerschevron-right
  • 0607_Sales_Personchevron-right
  • 0608_Tree_Nodechevron-right
  • 0610_Triangle_Judgementchevron-right
  • 0611_Valid_Triangle_Numberchevron-right
  • 0612_Shortest_Distance_in_a_Planechevron-right
  • 0613_Shortest_Distance_in_a_Linechevron-right
  • 0614_Second_Degree_Followerchevron-right
  • 0617_Merge_Two_Binary_Treeschevron-right
  • 0619_Biggest_Single_Numberchevron-right
  • 0620_Not_Boring_Movieschevron-right
  • 0626_Exchange_Seatschevron-right
  • 0627_Swap_Salarychevron-right
  • 0629_K_Inverse_Pairs_Arraychevron-right
  • 0633_Sum_of_Square_Numberschevron-right
  • 0637_Average_of_Levels_in_Binary_Treechevron-right
  • 0639_Decode_Ways_IIchevron-right
  • 0643_Maximum_Average_Subarray_Ichevron-right
  • 0646_Maximum_Length_of_Pair_Chainchevron-right
  • 0649_Dota2_Senatechevron-right
  • 0650_2_Keys_Keyboardchevron-right
  • 0653_Two_Sum_IV_-_Input_is_a_BSTchevron-right
  • 0659_Split_Array_into_Consecutive_Subsequenceschevron-right
  • 0661_Image_Smootherchevron-right
  • 0664_Strange_Printerchevron-right
  • 0665_Non-decreasing_Arraychevron-right
  • 0669_Trim_a_Binary_Search_Treechevron-right
  • 0671_Second_Minimum_Node_In_a_Binary_Treechevron-right
  • 0680_Valid_Palindrome_IIchevron-right
  • 0684_Redundant_Connectionchevron-right
  • 0692_Top_K_Frequent_Wordschevron-right
  • 0697_Degree_of_an_Arraychevron-right
  • 0703_Kth_Largest_Element_in_a_Streamchevron-right
  • 0704_Binary_Searchchevron-right
  • 0714_Best_Time_to_Buy_and_Sell_Stock_with_Transaction_Feechevron-right
  • 0724_Find_Pivot_Indexchevron-right
  • 0725_Split_Linked_List_in_Partschevron-right
  • 0726_Number_of_Atomschevron-right
  • 0738_Monotone_Increasing_Digitschevron-right
  • 0740_Delete_and_Earnchevron-right
  • 0743_Network_Delay_Timechevron-right
  • 0746_Min_Cost_Climbing_Stairschevron-right
  • 0765_Couples_Holding_Handschevron-right
  • 0766_Toeplitz_Matrixchevron-right
  • 0767_Reorganize_Stringchevron-right
  • 0783_Minimum_Distance_Between_BST_Nodeschevron-right
  • 0785_Is_Graph_Bipartite?chevron-right
  • 0786_K-th_Smallest_Prime_Fractionchevron-right
  • 0787_Cheapest_Flights_Within_K_Stopschevron-right
  • 0789_Escape_The_Ghostschevron-right
  • 0797_All_Paths_From_Source_to_Targetchevron-right
  • 0802_Find_Eventual_Safe_Stateschevron-right
  • 0815_Bus_Routeschevron-right
  • 0820_Short_Encoding_of_Wordschevron-right
  • 0830_Positions_of_Large_Groupschevron-right
  • 0832_Flipping_an_Imagechevron-right
  • 0842_Split_Array_into_Fibonacci_Sequencechevron-right
  • 0847_Shortest_Path_Visiting_All_Nodeschevron-right
  • 0852_Peak_Index_in_a_Mountain_Arraychevron-right
  • 0859_Buddy_Stringschevron-right
  • 0860_Lemonade_Changechevron-right
  • 0861_Score_After_Flipping_Matrixchevron-right
  • 0863_All_Nodes_Distance_K_in_Binary_Treechevron-right
  • 0867_Transpose_Matrixchevron-right
  • 0869_Reordered_Power_of_2chevron-right
  • 0872_Leaf-Similar_Treeschevron-right
  • 0876_Middle_of_the_Linked_Listchevron-right
  • 0877_Stone_Gamechevron-right
  • 0879_Profitable_Schemeschevron-right
  • 0881_Boats_to_Save_Peoplechevron-right
  • 0882_Reachable_Nodes_In_Subdivided_Graphchevron-right
  • 0887_Super_Egg_Dropchevron-right
  • 0888_Fair_Candy_Swapchevron-right
  • 0889_Construct_Binary_Tree_from_Preorder_and_Postorder_Traversalchevron-right
  • 0892_Surface_Area_of_3D_Shapeschevron-right
  • 0897_Increasing_Order_Search_Treechevron-right
  • 0912_Sort_an_Arraychevron-right
  • 0914_X_of_a_Kind_in_a_Deck_of_Cardschevron-right
  • 0922_Sort_Array_By_Parity_IIchevron-right
  • 0930_Binary_Subarrays_With_Sumchevron-right
  • 0938_Range_Sum_of_BSTchevron-right
  • 0941_Valid_Mountain_Arraychevron-right
  • 0945_Minimum_Increment_to_Make_Array_Uniquechevron-right
  • 0959_Regions_Cut_By_Slasheschevron-right
  • 0973_K_Closest_Points_to_Originchevron-right
  • 0976_Largest_Perimeter_Trianglechevron-right
  • 0978_Longest_Turbulent_Subarraychevron-right
  • 0981_Time_Based_Key-Value_Storechevron-right
  • 0993_Cousins_in_Binary_Treechevron-right
  • 0995_Minimum_Number_of_K_Consecutive_Bit_Flipschevron-right
  • 0999_Available_Captures_for_Rookchevron-right
  • 1004_Max_Consecutive_Ones_IIIchevron-right
  • 1005_Maximize_Sum_Of_Array_After_K_Negationschevron-right
  • 1006_Clumsy_Factorialchevron-right
  • 1011_Capacity_To_Ship_Packages_Within_D_Dayschevron-right
  • 1025_Divisor_Gamechevron-right
  • 1030_Matrix_Cells_in_Distance_Orderchevron-right
  • 1035_Uncrossed_Lineschevron-right
  • 1045_Customers_Who_Bought_All_Productschevron-right
  • 1046_Last_Stone_Weightchevron-right
  • 1049_Last_Stone_Weight_IIchevron-right
  • 1050_Actors_and_Directors_Who_Cooperated_At_Least_Three_Timeschevron-right
  • 1052_Grumpy_Bookstore_Ownerchevron-right
  • 1059_All_Paths_from_Source_Lead_to_Destinationchevron-right
  • 1068_Product_Sales_Analysis_Ichevron-right
  • 1069_Product_Sales_Analysis_IIchevron-right
  • 1070_Product_Sales_Analysis_IIIchevron-right
  • 1074_Number_of_Submatrices_That_Sum_to_Targetchevron-right
  • 1075_Project_Employees_Ichevron-right
  • 1076_Project_Employees_IIchevron-right
  • 1077_Project_Employees_IIIchevron-right
  • 1082_Sales_Analysis_Ichevron-right
  • 1083_Sales_Analysis_IIchevron-right
  • 1084_Sales_Analysis_IIIchevron-right
  • 1098_Unpopular_Bookschevron-right
  • 1104_Path_In_Zigzag_Labelled_Binary_Treechevron-right
  • 1107_New_Users_Daily_Countchevron-right
  • 1109_Corporate_Flight_Bookingschevron-right
  • 1110_Delete_Nodes_And_Return_Forestchevron-right
  • 1111_Maximum_Nesting_Depth_of_Two_Valid_Parentheses_Stringschevron-right
  • 1112_Highest_Grade_For_Each_Studentchevron-right
  • 1113_Reported_Postschevron-right
  • 1122_Relative_Sort_Arraychevron-right
  • 1126_Active_Businesseschevron-right
  • 1128_Number_of_Equivalent_Domino_Pairschevron-right
  • 1132_Reported_Posts_IIchevron-right
  • 1135_Connecting_Cities_With_Minimum_Costchevron-right
  • 1141_User_Activity_for_the_Past_30_Days_Ichevron-right
  • 1142_User_Activity_for_the_Past_30_Days_IIchevron-right
  • 1143_Longest_Common_Subsequencechevron-right
  • 1148_Article_Views_Ichevron-right
  • 1162_As_Far_from_Land_as_Possiblechevron-right
  • 1173_Immediate_Food_Delivery_Ichevron-right
  • 1178_Number_of_Valid_Words_for_Each_Puzzlechevron-right
  • 1179_Reformat_Department_Tablechevron-right
  • 1190_Reverse_Substrings_Between_Each_Pair_of_Parentheseschevron-right
  • 1202_Smallest_String_With_Swapschevron-right
  • 1203_Sort_Items_by_Groups_Respecting_Dependencieschevron-right
  • 1207_Unique_Number_of_Occurrenceschevron-right
  • 1208_Get_Equal_Substrings_Within_Budgetchevron-right
  • 1211_Queries_Quality_and_Percentagechevron-right
  • 1218_Longest_Arithmetic_Subsequence_of_Given_Differencechevron-right
  • 1221_Split_a_String_in_Balanced_Stringschevron-right
  • 1232_Check_If_It_Is_a_Straight_Linechevron-right
  • 1241_Number_of_Comments_per_Postchevron-right
  • 1251_Average_Selling_Pricechevron-right
  • 1269_Number_of_Ways_to_Stay_in_the_Same_Place_After_Some_Stepschevron-right
  • 1280_Students_and_Examinationschevron-right
  • 1294_Weather_Type_in_Each_Countrychevron-right
  • 1303_Find_the_Team_Sizechevron-right
  • 1310_XOR_Queries_of_a_Subarraychevron-right
  • 1322_Ads_Performancechevron-right
  • 1327_List_the_Products_Ordered_in_a_Periodchevron-right
  • 1350_Students_With_Invalid_Departmentschevron-right
  • 1370_Increasing_Decreasing_Stringchevron-right
  • 1378_Replace Employee_ID_With_The_Unique_Identifierchevron-right
  • 1418_Display_Table_of_Food_Orders_in_a_Restaurantchevron-right
  • 1438_Longest_Continuous_Subarray_With_Absolute_Diff_Less_Than_or_Equal_to_Limitchevron-right
  • 1442_Count_Triplets_That_Can_Form_Two_Arrays_of_Equal_XORchevron-right
  • 1486_XOR_Operation_in_an_Arraychevron-right
  • 1579_Remove_Max_Number_of_Edges_to_Keep_Graph_Fully_Traversablechevron-right
  • 1600_Throne_Inheritancechevron-right
  • 1603_Design_Parking_Systemchevron-right
  • 1631_Path_With_Minimum_Effortchevron-right
  • 1646_Get_Maximum_in_Generated_Arraychevron-right
  • 1711_Count_Good_Mealschevron-right
  • 1720_Decode_XORed_Arraychevron-right
  • 1721_Swapping_Nodes_in_a_Linked_Listchevron-right
  • 1722_Minimize_Hamming_Distance_After_Swap_Operationschevron-right
  • 1723_Find_Minimum_Time_to_Finish_All_Jobschevron-right
  • 1734_Decode_XORed_Permutationchevron-right
  • 1738_Find_Kth_Largest_XOR_Coordinate_Valuechevron-right
  • 1744_Can_You_Eat_Your_Favorite_Candy_on_Your_Favorite_Day?chevron-right
  • 1746_Maximum_Subarray_Sum_After_One_Operationchevron-right
  • 1770_Maximum_Score_from_Performing_Multiplication_Operationschevron-right
  • 1787_Make_the_XOR_of_All_Segments_Equal_to_Zerochevron-right
  • 1833_Maximum_Ice_Cream_Barschevron-right
  • 1838_Frequency_of_the_Most_Frequent_Elementchevron-right
  • 1846_Maximum_Element_After_Decreasing_and_Rearrangingchevron-right
  • 1877_Minimize_Maximum_Pair_Sum_in_Arraychevron-right
  • 1893_Check_if_All_the_Integers_in_a_Range_Are_Coveredchevron-right
  • 1894_Find_the_Student_that_Will_Replace_the_Chalkchevron-right
  • mst01.07_Rotate_Matrix_LCCIchevron-right
  • mst02.05_Sum_Lists_LCCIchevron-right
  • mst10.01_Sorted_Merge_LCCIchevron-right
  • mst16.15_Master_Mind_LCCIchevron-right
  • mst16.16_Sub_Sort_LCCIchevron-right
  • mst16.17_Contiguous_Sequence_LCCIchevron-right
  • mst16.20_T9_LCCIchevron-right
  • mst16.21_Sum_Swap_LCCIchevron-right
  • mst16.22_Langtons_Ant_LCCIchevron-right
  • mst16.24_Pairs_With_Sum_LCCIchevron-right
  • mst17.04_Missing_Number_LCCIchevron-right
  • mst17.14_Smallest_K_LCCIchevron-right
  • mst17.16_The_Masseuse_LCCIchevron-right
  • mst17.21_Volume_of_Histogram_LCCIchevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down

0253_Meeting_Rooms_II

思路1 min heapchevron-right
Previous思路1 按第一个元素排序,并判断有没有重叠chevron-leftNext思路1 min heapchevron-right

Was this helpful?

Was this helpful?