File tree
257 files changed
+542
-6
lines changed- src
- main/java
- g0001_0100
- s0001_two_sum
- s0002_add_two_numbers
- s0003_longest_substring_without_repeating_characters
- s0004_median_of_two_sorted_arrays
- s0005_longest_palindromic_substring
- s0006_zigzag_conversion
- s0007_reverse_integer
- s0008_string_to_integer_atoi
- s0009_palindrome_number
- s0010_regular_expression_matching
- s0011_container_with_most_water
- s0012_integer_to_roman
- s0013_roman_to_integer
- s0014_longest_common_prefix
- s0015_3sum
- s0016_3sum_closest
- s0017_letter_combinations_of_a_phone_number
- s0018_4sum
- s0019_remove_nth_node_from_end_of_list
- s0020_valid_parentheses
- s0021_merge_two_sorted_lists
- s0022_generate_parentheses
- s0023_merge_k_sorted_lists
- s0024_swap_nodes_in_pairs
- s0025_reverse_nodes_in_k_group
- s0026_remove_duplicates_from_sorted_array
- s0027_remove_element
- s0028_implement_strstr
- s0029_divide_two_integers
- s0030_substring_with_concatenation_of_all_words
- s0031_next_permutation
- s0032_longest_valid_parentheses
- s0033_search_in_rotated_sorted_array
- s0034_find_first_and_last_position_of_element_in_sorted_array
- s0035_search_insert_position
- s0036_valid_sudoku
- s0037_sudoku_solver
- s0038_count_and_say
- s0039_combination_sum
- s0040_combination_sum_ii
- s0041_first_missing_positive
- s0042_trapping_rain_water
- s0044_wildcard_matching
- s0045_jump_game_ii
- s0046_permutations
- s0047_permutations_ii
- s0048_rotate_image
- s0049_group_anagrams
- s0050_powx_n
- s0051_n_queens
- s0052_n_queens_ii
- s0053_maximum_subarray
- s0054_spiral_matrix
- s0055_jump_game
- s0056_merge_intervals
- s0057_insert_interval
- s0058_length_of_last_word
- s0059_spiral_matrix_ii
- s0060_permutation_sequence
- s0061_rotate_list
- s0062_unique_paths
- s0063_unique_paths_ii
- s0064_minimum_path_sum
- s0065_valid_number
- s0066_plus_one
- s0067_add_binary
- s0068_text_justification
- s0069_sqrtx
- s0070_climbing_stairs
- s0071_simplify_path
- s0072_edit_distance
- s0073_set_matrix_zeroes
- s0074_search_a_2d_matrix
- s0075_sort_colors
- s0076_minimum_window_substring
- s0077_combinations
- s0078_subsets
- s0080_remove_duplicates_from_sorted_array_ii
- s0081_search_in_rotated_sorted_array_ii
- s0082_remove_duplicates_from_sorted_list_ii
- s0083_remove_duplicates_from_sorted_list
- s0084_largest_rectangle_in_histogram
- s0085_maximal_rectangle
- s0086_partition_list
- s0087_scramble_string
- s0088_merge_sorted_array
- s0089_gray_code
- s0090_subsets_ii
- s0091_decode_ways
- s0092_reverse_linked_list_ii
- s0093_restore_ip_addresses
- s0094_binary_tree_inorder_traversal
- s0095_unique_binary_search_trees_ii
- s0096_unique_binary_search_trees
- s0097_interleaving_string
- s0098_validate_binary_search_tree
- s0099_recover_binary_search_tree
- s0100_same_tree
- g0101_0200
- s0101_symmetric_tree
- s0102_binary_tree_level_order_traversal
- s0103_binary_tree_zigzag_level_order_traversal
- s0104_maximum_depth_of_binary_tree
- s0105_construct_binary_tree_from_preorder_and_inorder_traversal
- s0106_construct_binary_tree_from_inorder_and_postorder_traversal
- s0107_binary_tree_level_order_traversal_ii
- s0108_convert_sorted_array_to_binary_search_tree
- s0109_convert_sorted_list_to_binary_search_tree
- s0110_balanced_binary_tree
- s0111_minimum_depth_of_binary_tree
- s0112_path_sum
- s0113_path_sum_ii
- s0114_flatten_binary_tree_to_linked_list
- s0115_distinct_subsequences
- s0116_populating_next_right_pointers_in_each_node
- s0117_populating_next_right_pointers_in_each_node_ii
- s0118_pascals_triangle
- s0119_pascals_triangle_ii
- s0120_triangle
- s0121_best_time_to_buy_and_sell_stock
- s0122_best_time_to_buy_and_sell_stock_ii
- s0123_best_time_to_buy_and_sell_stock_iii
- s0124_binary_tree_maximum_path_sum
- s0125_valid_palindrome
- s0126_word_ladder_ii
- s0127_word_ladder
- s0128_longest_consecutive_sequence
- s0129_sum_root_to_leaf_numbers
- s0130_surrounded_regions
- s0131_palindrome_partitioning
- s0132_palindrome_partitioning_ii
- s0133_clone_graph
- s0134_gas_station
- s0135_candy
- s0136_single_number
- s0137_single_number_ii
- s0138_copy_list_with_random_pointer
- s0139_word_break
- s0140_word_break_ii
- s0141_linked_list_cycle
- s0142_linked_list_cycle_ii
- s0143_reorder_list
- s0144_binary_tree_preorder_traversal
- s0145_binary_tree_postorder_traversal
- s0146_lru_cache
- s0147_insertion_sort_list
- s0148_sort_list
- s0149_max_points_on_a_line
- s0150_evaluate_reverse_polish_notation
- s0151_reverse_words_in_a_string
- s0152_maximum_product_subarray
- s0153_find_minimum_in_rotated_sorted_array
- s0154_find_minimum_in_rotated_sorted_array_ii
- s0155_min_stack
- s0160_intersection_of_two_linked_lists
- s0162_find_peak_element
- s0164_maximum_gap
- s0165_compare_version_numbers
- s0166_fraction_to_recurring_decimal
- s0167_two_sum_ii_input_array_is_sorted
- s0168_excel_sheet_column_title
- s0169_majority_element
- s0171_excel_sheet_column_number
- s0172_factorial_trailing_zeroes
- s0173_binary_search_tree_iterator
- s0174_dungeon_game
- s0179_largest_number
- s0187_repeated_dna_sequences
- s0188_best_time_to_buy_and_sell_stock_iv
- s0189_rotate_array
- s0190_reverse_bits
- s0191_number_of_1_bits
- s0198_house_robber
- s0199_binary_tree_right_side_view
- s0200_number_of_islands
- g0201_0300
- s0201_bitwise_and_of_numbers_range
- s0202_happy_number
- s0203_remove_linked_list_elements
- s0204_count_primes
- s0205_isomorphic_strings
- s0206_reverse_linked_list
- s0207_course_schedule
- s0208_implement_trie_prefix_tree
- s0209_minimum_size_subarray_sum
- s0210_course_schedule_ii
- s0211_design_add_and_search_words_data_structure
- s0212_word_search_ii
- s0213_house_robber_ii
- s0214_shortest_palindrome
- s0215_kth_largest_element_in_an_array
- s0216_combination_sum_iii
- s0217_contains_duplicate
- s0218_the_skyline_problem
- s0219_contains_duplicate_ii
- s0220_contains_duplicate_iii
- s0221_maximal_square
- s0222_count_complete_tree_nodes
- s0223_rectangle_area
- s0224_basic_calculator
- s0225_implement_stack_using_queues
- s0226_invert_binary_tree
- s0227_basic_calculator_ii
- s0228_summary_ranges
- s0229_majority_element_ii
- s0230_kth_smallest_element_in_a_bst
- s0231_power_of_two
- s0232_implement_queue_using_stacks
- s0233_number_of_digit_one
- s0234_palindrome_linked_list
- s0235_lowest_common_ancestor_of_a_binary_search_tree
- s0236_lowest_common_ancestor_of_a_binary_tree
- s0237_delete_node_in_a_linked_list
- s0238_product_of_array_except_self
- s0239_sliding_window_maximum
- s0240_search_a_2d_matrix_ii
- s0241_different_ways_to_add_parentheses
- s0242_valid_anagram
- s0257_binary_tree_paths
- s0258_add_digits
- s0260_single_number_iii
- s0263_ugly_number
- s0264_ugly_number_ii
- s0268_missing_number
- s0273_integer_to_english_words
- s0274_h_index
- s0275_h_index_ii
- s0278_first_bad_version
- s0279_perfect_squares
- s0282_expression_add_operators
- s0283_move_zeroes
- s0284_peeking_iterator
- s0287_find_the_duplicate_number
- s0289_game_of_life
- s0290_word_pattern
- s0292_nim_game
- s0295_find_median_from_data_stream
- s0297_serialize_and_deserialize_binary_tree
- s0299_bulls_and_cows
- s0300_longest_increasing_subsequence
- g0301_0400
- s0307_range_sum_query_mutable
- s0330_patching_array
- s0331_verify_preorder_serialization_of_a_binary_tree
- s0332_reconstruct_itinerary
- s0334_increasing_triplet_subsequence
- s0335_self_crossing
- g0801_0900/s0864_shortest_path_to_get_all_keys
- g2001_2100/s2080_range_frequency_queries
- test/java/g0001_0100
- s0015_3sum
- s0016_3sum_closest
- s0018_4sum
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
257 files changed
+542
-6
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
| 4 | + | |
3 | 5 |
| |
4 | 6 |
| |
5 | 7 |
| |
|
0 commit comments