leetcode

Leetcode Solutions (0x6A73)
git clone https://git.pngu.org/leetcode
Log | Files | Refs | Submodules | README

ModeNameSize
-rw-r--r--.clangd2L
-rw-r--r--.gitignore5L
-rw-r--r--.gitmodules3L
-rw-r--r--132_pattern.c39L
-rw-r--r--132_pattern.py29L
-rw-r--r--1bit_2bit_chars.c22L
-rw-r--r--1bit_2bit_chars.py26L
-rw-r--r--24_game.c71L
-rw-r--r--24_game.py38L
-rw-r--r--2_keys_keyboard.c25L
-rw-r--r--2_keys_keyboard.py27L
-rw-r--r--3_consec_int_sum.c29L
-rw-r--r--3sum.c77L
-rw-r--r--3sum.py47L
-rw-r--r--4sum.c64L
-rw-r--r--accounts_merge.c181L
-rw-r--r--accounts_merge.py73L
-rw-r--r--add_arr_form_int.c42L
-rw-r--r--add_binary.c37L
-rw-r--r--add_binary.py32L
-rw-r--r--add_digits.c22L
-rw-r--r--add_one_row_tree.c49L
-rw-r--r--add_one_row_tree.py48L
-rw-r--r--add_search_words_data.c69L
-rw-r--r--add_space_string.c40L
-rw-r--r--add_space_string.py31L
-rw-r--r--add_two_num2.c63L
-rw-r--r--adjacent_increasing_subarr2.c38L
-rw-r--r--adjacent_increasing_subarr2.py39L
-rw-r--r--adjacent_subarr_detect1.c35L
-rw-r--r--adjacent_subarr_detect1.py37L
-rw-r--r--alice_bob_flower_game.c17L
-rw-r--r--alice_bob_flower_game.py25L
-rw-r--r--all_nodes_binary_tree.c79L
-rw-r--r--all_o_one_data_structure.c165L
-rw-r--r--all_o_one_data_structure.py109L
-rw-r--r--all_possible_full_tree.c74L
-rw-r--r--alphabet_board_path.c70L
-rw-r--r--alternating_groups2.c31L
-rw-r--r--alternating_groups2.py34L
-rw-r--r--amount_time_bt_infect.c84L
-rw-r--r--amount_time_bt_infect.py59L
-rw-r--r--ancestors_node_acyclic_graph.py71L
-rw-r--r--angle_between_clock_hands.c27L
-rw-r--r--angle_between_clock_hands.py19L
-rw-r--r--append_char_str_make_subseq.c28L
-rw-r--r--append_char_str_make_subseq.py30L
-rw-r--r--apple_redistribution_boxes.c32L
-rw-r--r--apple_redistribution_boxes.py31L
-rw-r--r--apply_operations_arr_max_sqr.c37L
-rw-r--r--apply_operations_arr_max_sqr.py31L
-rw-r--r--apply_operations_array.c42L
-rw-r--r--apply_operations_array.py35L
-rw-r--r--apply_operations_max_score.c92L
-rw-r--r--apply_operations_max_score.py72L
-rw-r--r--arithmetic_progression.c30L
-rw-r--r--arithmetic_sequence.c62L
-rw-r--r--arithmetic_sequence.py65L
-rw-r--r--arithmetic_slices2.c58L
-rw-r--r--arithmetic_slices2.py35L
-rw-r--r--arr_elements_neq_neighbour.c44L
-rw-r--r--arr_elements_neq_neighbour.py29L
-rw-r--r--array_nesting.c37L
-rw-r--r--array_nesting.py32L
-rw-r--r--assign_cookies.c38L
-rw-r--r--assign_cookies.py37L
-rw-r--r--asteroid_collision.c55L
-rw-r--r--average_waiting_time.c34L
-rw-r--r--average_waiting_time.py31L
-rw-r--r--avg_salary.c29L
-rw-r--r--avoid_flood_city.c123L
-rw-r--r--avoid_flood_city.py47L
-rw-r--r--backspace_string_compare.c44L
-rw-r--r--backspace_string_compare.py27L
-rw-r--r--bag_of_tokens.c45L
-rw-r--r--bag_of_tokens.py44L
-rw-r--r--balance_binary_search_tree.c60L
-rw-r--r--balance_binary_search_tree.py40L
-rw-r--r--balance_bst.c17L
-rw-r--r--balanced_binary_tree.c27L
-rw-r--r--balanced_binary_tree.py34L
-rw-r--r--balanced_num.c45L
-rw-r--r--balanced_num.py47L
-rw-r--r--beautiful_arrangement.c23L
-rw-r--r--beautiful_arrangement.py34L
-rw-r--r--beautiful_arrangement2.c38L
-rw-r--r--beautiful_arrangement2.py36L
-rw-r--r--beautiful_array.c64L
-rw-r--r--beautiful_array.py27L
-rw-r--r--best_buy_sell_stock.c28L
-rw-r--r--best_sightseeing_pair.c26L
-rw-r--r--best_sightseeing_pair.py29L
-rw-r--r--best_team_no_conflict.c62L
-rw-r--r--best_time_buy_sell_stock3.c44L
-rw-r--r--best_time_buy_sell_stock3.py35L
-rw-r--r--best_time_buy_sell_stock5.c62L
-rw-r--r--best_time_buy_sell_stock5.py38L
-rw-r--r--best_time_buy_sell_stock_strat.c41L
-rw-r--r--best_time_buy_sell_stock_strat.py43L
-rw-r--r--biggest_three_rhombus_sum.c98L
-rw-r--r--biggest_three_rhombus_sum.py59L
-rw-r--r--binary_gap.c38L
-rw-r--r--binary_gap.py32L
-rw-r--r--binary_num_alter_bits.c26L
-rw-r--r--binary_num_alter_bits.py23L
-rw-r--r--binary_prefix_div_5.c35L
-rw-r--r--binary_prefix_div_5.py23L
-rw-r--r--binary_search.c22L
-rw-r--r--binary_string_substr_1n.c39L
-rw-r--r--binary_string_substr_1n.py30L
-rw-r--r--binary_subarr_sum.c52L
-rw-r--r--binary_subarr_sum.py30L
-rw-r--r--binary_tree_colouring_game.c57L
-rw-r--r--binary_tree_colouring_game.py48L
-rw-r--r--binary_tree_factors.c46L
-rw-r--r--binary_tree_factors.py24L
-rw-r--r--binary_tree_inorder.c28L
-rw-r--r--binary_tree_inorder.py39L
-rw-r--r--binary_tree_paths.c46L
-rw-r--r--binary_tree_paths.py39L
-rw-r--r--binary_tree_postorder_trav.c40L
-rw-r--r--binary_tree_postorder_trav.py35L
-rw-r--r--binary_tree_zigzag.c69L
-rw-r--r--binary_watch.c50L
-rw-r--r--binary_watch.py30L
-rw-r--r--bitwise_and_num_range.c23L
-rw-r--r--bitwise_and_num_range.py29L
-rw-r--r--bitwise_or_subarray.c88L
-rw-r--r--bitwise_or_subarray.py29L
-rw-r--r--bitwise_xor_pairings.c28L
-rw-r--r--bitwise_xor_pairings.py29L
-rw-r--r--block_placement_queries.c117L
-rw-r--r--block_placement_queries.py79L
-rw-r--r--boats_save_people.c34L
-rw-r--r--boats_save_people.py32L
-rw-r--r--brainpower.c40L
-rw-r--r--brainpower.py30L
-rw-r--r--break_palindrom.c27L
-rw-r--r--break_palindrom.py27L
-rw-r--r--brick_wall.c84L
-rw-r--r--brick_wall.py42L
-rw-r--r--broken_calculator.c27L
-rw-r--r--broken_calculator.py26L
-rw-r--r--browser_history.c65L
-rw-r--r--bst_greater_sum_tree.c33L
-rw-r--r--bst_greater_sum_tree.py35L
-rw-r--r--bt_max_path_sum.c38L
-rw-r--r--bt_max_path_sum.py43L
-rw-r--r--buddy_strings.c49L
-rw-r--r--build_arr_permutation.c31L
-rw-r--r--build_arr_permutation.py23L
-rw-r--r--build_array_max_compare.c47L
-rw-r--r--build_array_max_compare.py33L
-rw-r--r--build_array_stack_oper.c38L
-rw-r--r--build_array_stack_oper.py29L
-rw-r--r--build_matrix_conditions.py67L
-rw-r--r--bulb_switcher.c19L
-rw-r--r--bulb_switcher2.c77L
-rw-r--r--bulb_switcher2.py38L
-rw-r--r--bus_routes.c58L
-rw-r--r--bus_routes.py53L
-rw-r--r--buy_sell_stock_fee.c28L
-rw-r--r--buy_two_chocolate.c42L
-rw-r--r--buy_two_chocolate.py35L
-rw-r--r--calculate_money_bank.c24L
-rw-r--r--calculate_money_bank.py30L
-rw-r--r--can_i_win.c54L
-rw-r--r--can_i_win.py49L
-rw-r--r--can_make_palindrome_substr.c54L
-rw-r--r--can_make_palindrome_substr.py40L
-rw-r--r--can_place_flower.c33L
-rw-r--r--candy.c44L
-rw-r--r--candy.py30L
-rw-r--r--capacity_ship_d_day.c57L
-rw-r--r--capitalise_the_title.c44L
-rw-r--r--capitalise_the_title.py28L
-rw-r--r--chalkboard_xor_game.c28L
-rw-r--r--chalkboard_xor_game.py32L
-rw-r--r--champagne_tower.c45L
-rw-r--r--champagne_tower.py39L
-rw-r--r--cheapest_flight_k_stop.c38L
-rw-r--r--cheapest_flight_k_stop.py58L
-rw-r--r--check_1s_k_place_away.c25L
-rw-r--r--check_1s_k_place_away.py28L
-rw-r--r--check_arr_div_k.c37L
-rw-r--r--check_arr_div_k.py40L
-rw-r--r--check_arr_good.c32L
-rw-r--r--check_arr_good.py24L
-rw-r--r--check_array_sorted_rotated.c30L
-rw-r--r--check_array_sorted_rotated.py25L
-rw-r--r--check_binary_str_one_seg.c19L
-rw-r--r--check_binary_str_one_seg.py17L
-rw-r--r--check_bitwise_or_trailing_0.c28L
-rw-r--r--check_bitwise_or_trailing_0.py31L
-rw-r--r--check_complete_bt.c83L
-rw-r--r--check_digit_eq_str_op2.c64L
-rw-r--r--check_digit_eq_str_op2.py45L
-rw-r--r--check_digits_eq_str_op1.c33L
-rw-r--r--check_digits_eq_str_op1.py32L
-rw-r--r--check_every_row_col_contain_num.c35L
-rw-r--r--check_every_row_col_contain_num.py31L
-rw-r--r--check_existence_edge.c66L
-rw-r--r--check_good_array.c33L
-rw-r--r--check_good_array.py25L
-rw-r--r--check_grid_cut_section.c82L
-rw-r--r--check_grid_cut_section.py60L
-rw-r--r--check_knight_config.c55L
-rw-r--r--check_n_double_exist.c26L
-rw-r--r--check_n_double_exist.py26L
-rw-r--r--check_num_sum_pow3.c26L
-rw-r--r--check_num_sum_pow3.py29L
-rw-r--r--check_parentheses_valid.c50L
-rw-r--r--check_parentheses_valid.py49L
-rw-r--r--check_str_contain_binary_code.c42L
-rw-r--r--check_str_contain_binary_code.py18L
-rw-r--r--check_str_eq_op1.c28L
-rw-r--r--check_str_eq_op1.py20L
-rw-r--r--check_str_eq_op2.c35L
-rw-r--r--check_str_eq_op2.py24L
-rw-r--r--check_straight_line.c49L
-rw-r--r--check_string_swap_eq.c32L
-rw-r--r--check_string_swap_eq.py27L
-rw-r--r--check_valid_partition.c61L
-rw-r--r--check_valid_path_grid.c99L
-rw-r--r--check_valid_path_grid.py54L
-rw-r--r--check_word_occur_prefix_sentence.c39L
-rw-r--r--check_word_occur_prefix_sentence.py33L
-rw-r--r--cherry_pickup2.c40L
-rw-r--r--cherry_pickup2.py48L
-rw-r--r--cinema_seat_allocation.c66L
-rw-r--r--circular_permutation_binary_rep.c44L
-rw-r--r--circular_permutation_binary_rep.py24L
-rw-r--r--circular_sentence.c30L
-rw-r--r--circular_sentence.py34L
-rw-r--r--clear_digits.c28L
-rw-r--r--clear_digits.py29L
-rw-r--r--climbing_stairs.c36L
-rw-r--r--climbing_stairs.py28L
-rw-r--r--clone_graph.c35L
-rw-r--r--closest_equal_element_query.c118L
-rw-r--r--closest_equal_element_query.py36L
-rw-r--r--closest_node_2_nodes.c46L
-rw-r--r--closest_node_2_nodes.py46L
-rw-r--r--closest_prime_num_range.c61L
-rw-r--r--closest_prime_num_range.py43L
-rw-r--r--cnt_node_equal_subtree.c36L
-rw-r--r--cnt_node_equal_subtree.py42L
-rw-r--r--coin_change2.c33L
-rw-r--r--combination_sum2.c60L
-rw-r--r--combination_sum2.py37L
-rw-r--r--combination_sum4.c37L
-rw-r--r--combination_sum4.py36L
-rw-r--r--combinations.c62L
-rw-r--r--compare_strings_freq_char.c59L
-rw-r--r--compare_strings_freq_char.py45L
-rw-r--r--compare_version_num.c42L
-rw-r--r--compare_version_num.py47L
-rw-r--r--complement_base_10_int.c29L
-rw-r--r--complement_base_10_int.py23L
-rw-r--r--concat_consec_binary_num.c30L
-rw-r--r--concat_consec_binary_num.py22L
-rw-r--r--concat_non_zero_digit_mult_sum1.c30L
-rw-r--r--concat_non_zero_digit_mult_sum1.py19L
-rw-r--r--concat_non_zero_digit_mult_sum2.c97L
-rw-r--r--concat_non_zero_digit_mult_sum2.py36L
-rw-r--r--concatenated_words.c79L
-rw-r--r--constrained_subseq_sum.c88L
-rw-r--r--constrained_subseq_sum.py32L
-rw-r--r--construct_bt_io_po.c37L
-rw-r--r--construct_bt_pre_post_trav.c42L
-rw-r--r--construct_bt_pre_post_trav.py41L
-rw-r--r--construct_k_palindrome_str.c25L
-rw-r--r--construct_k_palindrome_str.py24L
-rw-r--r--construct_lexicographically_seq.c63L
-rw-r--r--construct_lexicographically_seq.py59L
-rw-r--r--construct_min_bitwise_arr1.c45L
-rw-r--r--construct_min_bitwise_arr1.py31L
-rw-r--r--construct_min_bitwise_arr2.c38L
-rw-r--r--construct_min_bitwise_arr2.py31L
-rw-r--r--construct_product_matrix.c77L
-rw-r--r--construct_product_matrix.py33L
-rw-r--r--construct_smallest_di_str.c57L
-rw-r--r--construct_smallest_di_str.py29L
-rw-r--r--construct_string_binary_tree.c42L
-rw-r--r--construct_string_binary_tree.py60L
-rw-r--r--construct_string_repeat_lim.c61L
-rw-r--r--construct_string_repeat_lim.py49L
-rw-r--r--container_most_water.c29L
-rw-r--r--container_most_water.py32L
-rw-r--r--contains_duplicate.c25L
-rw-r--r--contains_duplicate.py27L
-rw-r--r--contaminated_binary_tree.c80L
-rw-r--r--contaminated_binary_tree.py69L
-rw-r--r--contiguous_array.c27L
-rw-r--r--contiguous_array.py32L
-rw-r--r--continuous_subarr_sum.c76L
-rw-r--r--continuous_subarr_sum.py29L
-rw-r--r--continuous_subarray.c45L
-rw-r--r--continuous_subarray.py34L
-rw-r--r--convert_1d_2d_arr.c65L
-rw-r--r--convert_1d_2d_arr.py34L
-rw-r--r--convert_arr_2d_cond.c35L
-rw-r--r--convert_arr_2d_cond.py39L
-rw-r--r--convert_bin_ll_int.c30L
-rw-r--r--convert_bin_ll_int.py36L
-rw-r--r--convert_int_sum_two_int.c53L
-rw-r--r--convert_int_sum_two_int.py30L
-rw-r--r--convert_num_hex.c35L
-rw-r--r--convert_num_hex.py29L
-rw-r--r--convert_sorted_bst.c56L
-rw-r--r--copy_list_rand_ptr.c94L
-rw-r--r--copy_list_rand_ptr.py60L
-rw-r--r--cost_hire_k_worker.c195L
-rw-r--r--count_and_say.c46L
-rw-r--r--count_and_say.py35L
-rw-r--r--count_binary_substr.c33L
-rw-r--r--count_binary_substr.py26L
-rw-r--r--count_collisions_road.c32L
-rw-r--r--count_collisions_road.py27L
-rw-r--r--count_complete_subarr_arr.c50L
-rw-r--r--count_complete_subarr_arr.py35L
-rw-r--r--count_covered_buildings.c65L
-rw-r--r--count_covered_buildings.py47L
-rw-r--r--count_days_without_meeting.c52L
-rw-r--r--count_days_without_meeting.py37L
-rw-r--r--count_element_max_freq.c29L
-rw-r--r--count_element_max_freq.py31L
-rw-r--r--count_element_smaller_great.c37L
-rw-r--r--count_equal_div_pair_arr.c23L
-rw-r--r--count_equal_div_pair_arr.py37L
-rw-r--r--count_equal_pairs1.c61L
-rw-r--r--count_equal_pairs1.py41L
-rw-r--r--count_fertile_pyramids_land.c146L
-rw-r--r--count_fertile_pyramids_land.py52L
-rw-r--r--count_good_numbers.c39L
-rw-r--r--count_good_numbers.py42L
-rw-r--r--count_good_triplet_arr.c64L
-rw-r--r--count_good_triplet_arr.py38L
-rw-r--r--count_good_triplets.c29L
-rw-r--r--count_good_triplets.py36L
-rw-r--r--count_hidden_sequences.c29L
-rw-r--r--count_hidden_sequences.py30L
-rw-r--r--count_hills_valleys_arr.c31L
-rw-r--r--count_hills_valleys_arr.py29L
-rw-r--r--count_interest_subarr.c22L
-rw-r--r--count_interesting_subarr.c83L
-rw-r--r--count_interesting_subarr.py34L
-rw-r--r--count_ints_even_sum.c27L
-rw-r--r--count_largest_group.c37L
-rw-r--r--count_largest_group.py39L
-rw-r--r--count_matches_tournament.c30L
-rw-r--r--count_matches_tournament.py32L
-rw-r--r--count_mentions_per_user.c115L
-rw-r--r--count_mentions_per_user.py71L
-rw-r--r--count_negative_num_matrix.c32L
-rw-r--r--count_negative_num_matrix.py33L
-rw-r--r--count_nice_pair.c53L
-rw-r--r--count_nice_pair.py32L
-rw-r--r--count_nodes_highest_score.c73L
-rw-r--r--count_nodes_highest_score.py47L
-rw-r--r--count_num_arr_k_match_elem.c48L
-rw-r--r--count_num_arr_k_match_elem.py28L
-rw-r--r--count_num_balanced_perm.c78L
-rw-r--r--count_num_balanced_perm.py55L
-rw-r--r--count_num_complete_component.c74L
-rw-r--r--count_num_complete_component.py48L
-rw-r--r--count_num_computer_unlock_perm.c33L
-rw-r--r--count_num_computer_unlock_perm.py36L
-rw-r--r--count_num_consistent_string.c35L
-rw-r--r--count_num_consistent_string.py44L
-rw-r--r--count_num_fair_pairs.c36L
-rw-r--r--count_num_fair_pairs.py31L
-rw-r--r--count_num_good_nodes.c75L
-rw-r--r--count_num_good_nodes.py77L
-rw-r--r--count_num_good_subarr.c94L
-rw-r--r--count_num_good_subarr.py35L
-rw-r--r--count_num_homogenous_substrings.c32L
-rw-r--r--count_num_homogenous_substrings.py24L
-rw-r--r--count_num_ideal_arr.c36L
-rw-r--r--count_num_ideal_arr.py38L
-rw-r--r--count_num_max_or_subset.c29L
-rw-r--r--count_num_max_or_subset.py32L
-rw-r--r--count_num_nice_subarr.c35L
-rw-r--r--count_num_nice_subarr.py34L
-rw-r--r--count_num_special_char1.c35L
-rw-r--r--count_num_special_char1.py19L
-rw-r--r--count_num_special_char2.c40L
-rw-r--r--count_num_special_char2.py25L
-rw-r--r--count_num_substrings_dominant_one.c38L
-rw-r--r--count_num_substrings_dominant_one.py37L
-rw-r--r--count_num_teams.c37L
-rw-r--r--count_num_teams.py44L
-rw-r--r--count_num_trapezoid_1.c124L
-rw-r--r--count_num_trapezoid_1.py35L
-rw-r--r--count_num_trapezoid_2.c121L
-rw-r--r--count_num_trapezoid_2.py47L
-rw-r--r--count_number_houses_dist2.c69L
-rw-r--r--count_number_houses_dist2.py44L
-rw-r--r--count_number_powerful_integers.py47L
-rw-r--r--count_number_root_nodes.c104L
-rw-r--r--count_number_root_nodes.py66L
-rw-r--r--count_odd_num_interval_range.c12L
-rw-r--r--count_odd_num_interval_range.py22L
-rw-r--r--count_ops_obtain_zero.c37L
-rw-r--r--count_ops_obtain_zero.py26L
-rw-r--r--count_pairs_xor_range.c88L
-rw-r--r--count_pairs_xor_range.py35L
-rw-r--r--count_partition_even_sum_diff.c25L
-rw-r--r--count_partition_even_sum_diff.py29L
-rw-r--r--count_partition_max_min_diff_k.c48L
-rw-r--r--count_partition_max_min_diff_k.py47L
-rw-r--r--count_paths_form_palindrome_tree.c82L
-rw-r--r--count_paths_form_palindrome_tree.py39L
-rw-r--r--count_possible_routes.c52L
-rw-r--r--count_prefix_suffix_pair1.c42L
-rw-r--r--count_prefix_suffix_pair1.py34L
-rw-r--r--count_primes.c34L
-rw-r--r--count_primes.py29L
-rw-r--r--count_repititions.c43L
-rw-r--r--count_repititions.py52L
-rw-r--r--count_servers_communicate.c57L
-rw-r--r--count_servers_communicate.py33L
-rw-r--r--count_special_integers.c59L
-rw-r--r--count_special_integers.py35L
-rw-r--r--count_special_triplets.c41L
-rw-r--r--count_special_triplets.py32L
-rw-r--r--count_square_submatrices_ones.c30L
-rw-r--r--count_square_submatrices_ones.py26L
-rw-r--r--count_square_sum_triple.c37L
-rw-r--r--count_square_sum_triple.py32L
-rw-r--r--count_structures_max_dist_cities.c145L
-rw-r--r--count_structures_max_dist_cities.py70L
-rw-r--r--count_sub_islands.c87L
-rw-r--r--count_sub_islands.py72L
-rw-r--r--count_subarr_fixed_bound.c31L
-rw-r--r--count_subarr_fixed_bound.py35L
-rw-r--r--count_subarr_len_three_cond.c22L
-rw-r--r--count_subarr_len_three_cond.py22L
-rw-r--r--count_subarr_les_k.c11L
-rw-r--r--count_subarr_majority_elem1.c55L
-rw-r--r--count_subarr_majority_elem1.py35L
-rw-r--r--count_subarr_majority_elem2.c44L
-rw-r--r--count_subarr_majority_elem2.py29L
-rw-r--r--count_subarr_max_elem_k.c29L
-rw-r--r--count_subarr_max_elem_k.py32L
-rw-r--r--count_subarr_score_less_k.c26L
-rw-r--r--count_subarr_score_less_k.py31L
-rw-r--r--count_submat_equal_freq_xy.c55L
-rw-r--r--count_submat_equal_freq_xy.py30L
-rw-r--r--count_submat_top_left_less_k.c43L
-rw-r--r--count_submat_top_left_less_k.py32L
-rw-r--r--count_submatrices_all_ones.c45L
-rw-r--r--count_submatrices_all_ones.py37L
-rw-r--r--count_substr_rearr_cont_str2.c53L
-rw-r--r--count_substr_rearr_cont_str2.py37L
-rw-r--r--count_substr_vowles_2.c42L
-rw-r--r--count_substr_vowles_2.py57L
-rw-r--r--count_symmetric_integers.c112L
-rw-r--r--count_symmetric_integers.py34L
-rw-r--r--count_total_coloured_cell.c17L
-rw-r--r--count_total_coloured_cell.py24L
-rw-r--r--count_triplets_form_arr_xor.c31L
-rw-r--r--count_triplets_form_arr_xor.py32L
-rw-r--r--count_unguard_cells_grid.c90L
-rw-r--r--count_unguard_cells_grid.py68L
-rw-r--r--count_unreach_node.c53L
-rw-r--r--count_valid_pickup_delivery.c25L
-rw-r--r--count_valid_pickup_delivery.py24L
-rw-r--r--count_vowel_string_range.c55L
-rw-r--r--count_vowel_string_range.py52L
-rw-r--r--count_vowels_permutation.c26L
-rw-r--r--count_vowels_permutation.py16L
-rw-r--r--count_ways_build_strs.c35L
-rw-r--r--count_ways_build_strs.py36L
-rw-r--r--counting_bits.c62L
-rw-r--r--counting_bits.py20L
-rw-r--r--counting_words_given_prefix.c23L
-rw-r--r--counting_words_given_prefix.py27L
-rw-r--r--couples_holding_hands.c41L
-rw-r--r--coupon_code_validator.c90L
-rw-r--r--coupon_code_validator.py52L
-rw-r--r--course_schedule.c69L
-rw-r--r--course_schedule4.c84L
-rw-r--r--course_schedule4.py53L
-rw-r--r--cousins_binary_tree2.c61L
-rw-r--r--cousins_binary_tree2.py58L
-rw-r--r--crawler_log_folder.c33L
-rw-r--r--crawler_log_folder.py28L
-rw-r--r--create_bt_from_desc.c78L
-rw-r--r--create_bt_from_desc.py41L
-rw-r--r--create_sorted_arr_instr.c51L
-rw-r--r--create_sorted_arr_instr.py48L
-rw-r--r--custom_sort_string.c32L
-rw-r--r--custom_sort_string.py31L
-rw-r--r--cycle_queries_tree.c54L
-rw-r--r--cycle_queries_tree.py33L
-rw-r--r--cyclically_rotating_grid.c110L
-rw-r--r--cyclically_rotating_grid.py43L
-rw-r--r--daily_temps.c47L
-rw-r--r--daily_temps.py31L
-rw-r--r--decode_slanted_ciphertext.c46L
-rw-r--r--decode_slanted_ciphertext.py30L
-rw-r--r--decode_string.c114L
-rw-r--r--decode_string.py43L
-rw-r--r--decode_ways.c59L
-rw-r--r--decode_ways.py43L
-rw-r--r--decode_xor_array.c35L
-rw-r--r--decode_xored_permutation.c37L
-rw-r--r--decode_xored_permutation.py28L
-rw-r--r--decoded_string_idx.c54L
-rw-r--r--decoded_string_idx.py38L
-rw-r--r--defanging_ip_address.c30L
-rw-r--r--defanging_ip_address.py22L
-rw-r--r--defuse_the_bomb.c59L
-rw-r--r--defuse_the_bomb.py38L
-rw-r--r--delete_char_fancy_string.c30L
-rw-r--r--delete_char_fancy_string.py32L
-rw-r--r--delete_columns_sorted.c29L
-rw-r--r--delete_columns_sorted.py24L
-rw-r--r--delete_columns_sorted2.c46L
-rw-r--r--delete_columns_sorted2.py45L
-rw-r--r--delete_columns_sorted3.c42L
-rw-r--r--delete_columns_sorted3.py31L
-rw-r--r--delete_duplicate_folder_system.py80L
-rw-r--r--delete_leaves_given_value.c25L
-rw-r--r--delete_leaves_given_value.py30L
-rw-r--r--delete_middle_node_linked_list.c44L
-rw-r--r--delete_middle_node_linked_list.py38L
-rw-r--r--delete_node_link_list.c27L
-rw-r--r--delete_node_link_list.py27L
-rw-r--r--delete_node_link_list_arr.c46L
-rw-r--r--delete_node_link_list_arr.py38L
-rw-r--r--delete_nodes_return_forest.c38L
-rw-r--r--delete_nodes_return_forest.py39L
-rw-r--r--design_bitset.c92L
-rw-r--r--design_bitset.py106L
-rw-r--r--design_circular_queue.c118L
-rw-r--r--design_circular_queue.py111L
-rw-r--r--design_food_rating_system.c165L
-rw-r--r--design_food_rating_system.py66L
-rw-r--r--design_graph_short_path.c64L
-rw-r--r--design_graph_short_path.py51L
-rw-r--r--design_hashmap.c92L
-rw-r--r--design_hashmap.py28L
-rw-r--r--design_hashset.c108L
-rw-r--r--design_linked_list.c103L
-rw-r--r--design_linked_list.py107L
-rw-r--r--design_movie_rental.c424L
-rw-r--r--design_movie_rental.py63L
-rw-r--r--design_number_container.py46L
-rw-r--r--design_parking_system.c51L
-rw-r--r--design_spreadsheet.c98L
-rw-r--r--design_spreadsheet.py52L
-rw-r--r--design_stack_increment_op.c64L
-rw-r--r--design_stack_increment_op.py61L
-rw-r--r--design_task_manager.py64L
-rw-r--r--design_underground_system.c97L
-rw-r--r--destination_city.c28L
-rw-r--r--destination_city.py35L
-rw-r--r--destroying_asteroids.c42L
-rw-r--r--destroying_asteroids.py29L
-rw-r--r--detect_cycles_2d_grid.c77L
-rw-r--r--detect_cycles_2d_grid.py68L
-rw-r--r--detect_pattern_len_m.c50L
-rw-r--r--detect_pattern_len_m.py33L
-rw-r--r--determine_cell_reachable.c21L
-rw-r--r--determine_cell_reachable.py30L
-rw-r--r--determine_mat_rotated.c61L
-rw-r--r--determine_mat_rotated.py29L
-rw-r--r--determine_string_halves.c37L
-rw-r--r--determine_string_halves.py28L
-rw-r--r--determine_two_str_close.c45L
-rw-r--r--determine_two_str_close.py41L
-rw-r--r--detonate_max_bombs.c87L
-rw-r--r--diagonal_traverse.c58L
-rw-r--r--diagonal_traverse.py43L
-rw-r--r--diameter_binay_tree.c30L
-rw-r--r--diameter_binay_tree.py39L
-rw-r--r--diff_add_parentheses.c82L
-rw-r--r--diff_add_parentheses.py40L
-rw-r--r--diff_ones_zeros_row_col.c35L
-rw-r--r--diff_ones_zeros_row_col.py36L
-rw-r--r--diff_two_array.c81L
-rw-r--r--distant_barcodes.c46L
-rw-r--r--distant_barcodes.py29L
-rw-r--r--distinct_char_equal.c64L
-rw-r--r--distinct_prime_factors_arr.c60L
-rw-r--r--distinct_prime_factors_arr.py36L
-rw-r--r--distribute_candies_children2.c22L
-rw-r--r--distribute_candies_children2.py35L
-rw-r--r--distribute_coins_binary_tree.c30L
-rw-r--r--distribute_coins_binary_tree.py35L
-rw-r--r--distribute_repeating_ints.c128L
-rw-r--r--distribute_repeating_ints.py53L
-rw-r--r--div_non_div_sum_diff.c19L
-rw-r--r--div_non_div_sum_diff.py25L
-rw-r--r--divide_2_int.c32L
-rw-r--r--divide_2_int.py32L
-rw-r--r--divide_arr_subarr_min_cost1.c28L
-rw-r--r--divide_arr_subarr_min_cost1.py30L
-rw-r--r--divide_arr_subarr_min_cost2.c141L
-rw-r--r--divide_arr_subarr_min_cost2.py87L
-rw-r--r--divide_array_equal_pair.c24L
-rw-r--r--divide_array_equal_pair.py26L
-rw-r--r--divide_array_max_diff.c76L
-rw-r--r--divide_array_max_diff.py38L
-rw-r--r--divide_interval_min_group.c38L
-rw-r--r--divide_interval_min_group.py33L
-rw-r--r--divide_nodes_max_groups.py66L
-rw-r--r--divide_players_equal_skill.c34L
-rw-r--r--divide_players_equal_skill.py34L
-rw-r--r--divide_string_groups_k.c47L
-rw-r--r--divide_string_groups_k.py42L
-rw-r--r--domino_tromino_tiling.c31L
-rw-r--r--domino_tromino_tiling.py34L
-rw-r--r--double_num_represent_ll.c62L
-rw-r--r--double_num_represent_ll.py31L
-rw-r--r--dungeon_game.c49L
-rw-r--r--dungeon_game.py32L
-rw-r--r--earliest_latest_rounds_players_compete.c61L
-rw-r--r--earliest_latest_rounds_players_compete.py49L
-rw-r--r--earliest_time_finish_land_water1.c42L
-rw-r--r--earliest_time_finish_land_water1.py46L
-rw-r--r--earliest_time_finish_land_water2.c42L
-rw-r--r--earliest_time_finish_land_water2.py46L
-rw-r--r--edit_distance.c60L
-rw-r--r--eliminate_max_monster.c53L
-rw-r--r--eliminate_max_monster.py38L
-rw-r--r--encode_decode_tinyurl.c31L
-rw-r--r--encode_decode_tinyurl.py46L
-rw-r--r--equal_row_col_pair.c32L
-rw-r--r--equal_sum_grid_partition1.c49L
-rw-r--r--equal_sum_grid_partition1.py36L
-rw-r--r--equal_sum_grid_partition2.c157L
-rw-r--r--equal_sum_grid_partition2.py68L
-rw-r--r--eval_reverse_polish_notation.c73L
-rw-r--r--eval_reverse_polish_notation.py46L
-rw-r--r--evaluate_boolean_binary_tree.c39L
-rw-r--r--evaluate_boolean_binary_tree.py36L
-rw-r--r--evaluate_division.c109L
-rw-r--r--evalute_bracket_pairs_str.c81L
-rw-r--r--evalute_bracket_pairs_str.py40L
-rw-r--r--even_odd_tree.c76L
-rw-r--r--even_odd_tree.py52L
-rw-r--r--eventual_safe_states.c62L
-rw-r--r--eventual_safe_states.py43L
-rw-r--r--excel_sheet_column_title.c49L
-rw-r--r--extra_char_string.c93L
-rw-r--r--extra_char_string.py37L
-rw-r--r--fancy_sequence.c163L
-rw-r--r--fancy_sequence.py48L
-rw-r--r--far_from_land.c56L
-rw-r--r--filling_bookcase_shelves.c45L
-rw-r--r--filling_bookcase_shelves.py43L
-rw-r--r--filter_restaurants_vpd.c89L
-rw-r--r--filter_restaurants_vpd.py75L
-rw-r--r--final_arr_state_k_mult1.c40L
-rw-r--r--final_arr_state_k_mult1.py36L
-rw-r--r--final_prices_discount.c47L
-rw-r--r--final_prices_discount.py32L
-rw-r--r--final_value_var_op.c35L
-rw-r--r--final_value_var_op.py26L
-rw-r--r--find_all_anagrams.c49L
-rw-r--r--find_all_good_strings.c80L
-rw-r--r--find_all_good_strings.py83L
-rw-r--r--find_all_people_secret.c88L
-rw-r--r--find_all_people_secret.py67L
-rw-r--r--find_array_sorted.c38L
-rw-r--r--find_array_sorted.py26L
-rw-r--r--find_bottom_left_tree.c35L
-rw-r--r--find_bottom_left_tree.py21L
-rw-r--r--find_building_alice_bob_meet.py56L
-rw-r--r--find_centre_star_graph.c34L
-rw-r--r--find_centre_star_graph.py27L
-rw-r--r--find_champion_1.c32L
-rw-r--r--find_champion_1.py28L
-rw-r--r--find_champion_2.c40L
-rw-r--r--find_champion_2.py29L
-rw-r--r--find_city_smallest_neighbour.c56L
-rw-r--r--find_city_smallest_neighbour.py50L
-rw-r--r--find_closest_palindrome.c68L
-rw-r--r--find_closest_palindrome.py53L
-rw-r--r--find_closest_person.c22L
-rw-r--r--find_closest_person.py29L
-rw-r--r--find_common_char.c51L
-rw-r--r--find_common_char.py28L
-rw-r--r--find_common_element_2_arr.c81L
-rw-r--r--find_common_element_2_arr.py32L
-rw-r--r--find_count_good_int.c115L
-rw-r--r--find_count_good_int.py71L
-rw-r--r--find_difference.c25L
-rw-r--r--find_difference.py23L
-rw-r--r--find_distinct_ball_colour.c150L
-rw-r--r--find_distinct_ball_colour.py38L
-rw-r--r--find_duplicate_array.c53L
-rw-r--r--find_duplicate_array.py30L
-rw-r--r--find_duplicate_num.c25L
-rw-r--r--find_duplicate_num.py24L
-rw-r--r--find_duplicate_subtree.c59L
-rw-r--r--find_duplicates_array.c48L
-rw-r--r--find_first_last_array.c61L
-rw-r--r--find_first_last_array.py31L
-rw-r--r--find_first_palindromic_str.c35L
-rw-r--r--find_first_palindromic_str.py26L
-rw-r--r--find_frequent_vowel_consonant.c33L
-rw-r--r--find_frequent_vowel_consonant.py34L
-rw-r--r--find_good_days_rob_bank.c62L
-rw-r--r--find_good_days_rob_bank.py46L
-rw-r--r--find_good_subset_matrix.c88L
-rw-r--r--find_good_subset_matrix.py38L
-rw-r--r--find_group_farmland.c54L
-rw-r--r--find_group_farmland.py59L
-rw-r--r--find_highest_altitude.c31L
-rw-r--r--find_highest_altitude.py22L
-rw-r--r--find_inds_w_idx_val_diff2.c64L
-rw-r--r--find_inds_w_idx_val_diff2.py40L
-rw-r--r--find_integer_add_arr2.c48L
-rw-r--r--find_integer_add_arr2.py44L
-rw-r--r--find_k_closest_elements.c38L
-rw-r--r--find_k_closest_elements.py32L
-rw-r--r--find_k_distant_indices.c39L
-rw-r--r--find_k_distant_indices.py34L
-rw-r--r--find_k_pair_sum.c87L
-rw-r--r--find_k_small_pair_dist.c34L
-rw-r--r--find_k_small_pair_dist.py44L
-rw-r--r--find_kth_bit_nth_bin_str.c29L
-rw-r--r--find_kth_bit_nth_bin_str.py20L
-rw-r--r--find_kth_char_str_game1.c19L
-rw-r--r--find_kth_char_str_game1.py26L
-rw-r--r--find_kth_char_str_game2.c28L
-rw-r--r--find_kth_char_str_game2.py29L
-rw-r--r--find_kth_large_xor_coord.c44L
-rw-r--r--find_kth_large_xor_coord.py41L
-rw-r--r--find_kth_largest_int_arr.c96L
-rw-r--r--find_kth_largest_int_arr.py31L
-rw-r--r--find_largest_area_square_rect.c75L
-rw-r--r--find_largest_area_square_rect.py56L
-rw-r--r--find_largest_value_tree_row.c56L
-rw-r--r--find_largest_value_tree_row.py30L
-rw-r--r--find_len_longest_prefix.c57L
-rw-r--r--find_len_longest_prefix.py28L
-rw-r--r--find_lex_large_str_box1.c40L
-rw-r--r--find_lex_large_str_box1.py30L
-rw-r--r--find_lonely_numbers_array.c39L
-rw-r--r--find_lonely_numbers_array.py25L
-rw-r--r--find_longest_awesome_substr.c29L
-rw-r--r--find_longest_awesome_substr.py31L
-rw-r--r--find_longest_special_substr1.c46L
-rw-r--r--find_longest_special_substr1.py37L
-rw-r--r--find_longest_substr_vowel.c47L
-rw-r--r--find_longest_substr_vowel.py29L
-rw-r--r--find_lucky_integer_array.c31L
-rw-r--r--find_lucky_integer_array.py28L
-rw-r--r--find_max_len_valid_subseq1.c53L
-rw-r--r--find_max_len_valid_subseq1.py28L
-rw-r--r--find_max_len_valid_subseq2.c68L
-rw-r--r--find_max_len_valid_subseq2.py57L
-rw-r--r--find_max_non_decr_arr_len.c53L
-rw-r--r--find_max_non_decr_arr_len.py39L
-rw-r--r--find_max_num_elem_subset.c73L
-rw-r--r--find_max_num_elem_subset.py33L
-rw-r--r--find_max_num_fruit_collected.c60L
-rw-r--r--find_max_num_fruit_collected.py51L
-rw-r--r--find_max_sum_node_val.c47L
-rw-r--r--find_max_sum_node_val.py38L
-rw-r--r--find_min_amount_brew_potion.c46L
-rw-r--r--find_min_amount_brew_potion.py37L
-rw-r--r--find_min_area_conver_ones1.c39L
-rw-r--r--find_min_area_conver_ones1.py32L
-rw-r--r--find_min_area_conver_ones2.c85L
-rw-r--r--find_min_area_conver_ones2.py62L
-rw-r--r--find_min_diameter_merge_trees.c108L
-rw-r--r--find_min_diameter_merge_trees.py68L
-rw-r--r--find_min_max_nodes_crit.c67L
-rw-r--r--find_min_max_nodes_crit.py41L
-rw-r--r--find_min_rotated_arr.c36L
-rw-r--r--find_min_rotated_arr.py27L
-rw-r--r--find_min_rotated_arr2.c33L
-rw-r--r--find_min_rotated_arr2.py28L
-rw-r--r--find_min_time_finish_jobs.c161L
-rw-r--r--find_min_time_finish_jobs.py46L
-rw-r--r--find_min_time_reach_last_room1.c87L
-rw-r--r--find_min_time_reach_last_room1.py41L
-rw-r--r--find_min_time_reach_last_room2.c152L
-rw-r--r--find_min_time_reach_last_room2.py43L
-rw-r--r--find_missing_observations.c63L
-rw-r--r--find_missing_observations.py43L
-rw-r--r--find_missing_repeated_val.c56L
-rw-r--r--find_missing_repeated_val.py35L
-rw-r--r--find_mode_bst.c49L
-rw-r--r--find_mode_bst.py44L
-rw-r--r--find_mountain.c91L
-rw-r--r--find_mountain.py39L
-rw-r--r--find_n_unique_int_sum_0.c33L
-rw-r--r--find_n_unique_int_sum_0.py22L
-rw-r--r--find_num_even_digit.c27L
-rw-r--r--find_num_even_digit.py21L
-rw-r--r--find_num_place_people1.c62L
-rw-r--r--find_num_place_people1.py33L
-rw-r--r--find_num_ways_place_people2.c59L
-rw-r--r--find_num_ways_place_people2.py40L
-rw-r--r--find_orig_prefix_xor.c31L
-rw-r--r--find_orig_prefix_xor.py20L
-rw-r--r--find_original_typed_str1.c26L
-rw-r--r--find_original_typed_str1.py28L
-rw-r--r--find_original_typed_str2.c53L
-rw-r--r--find_original_typed_str2.py50L
-rw-r--r--find_palindrome_fixed_length.c45L
-rw-r--r--find_palindrome_fixed_length.py28L
-rw-r--r--find_path_exist_graph.c47L
-rw-r--r--find_path_exist_graph.py49L
-rw-r--r--find_peak_element.c45L
-rw-r--r--find_peak_element.py34L
-rw-r--r--find_pivot_integer.c28L
-rw-r--r--find_pivot_integer.py30L
-rw-r--r--find_players_zero_loss.c37L
-rw-r--r--find_players_zero_loss.py49L
-rw-r--r--find_polygon_largest_perimeter.c34L
-rw-r--r--find_polygon_largest_perimeter.py32L
-rw-r--r--find_pos_int_soln_given_eq.c59L
-rw-r--r--find_pos_int_soln_given_eq.py42L
-rw-r--r--find_power_k_subarr1.c44L
-rw-r--r--find_power_k_subarr1.py41L
-rw-r--r--find_prefix_common_arr.c46L
-rw-r--r--find_prefix_common_arr.py29L
-rw-r--r--find_punishment_number_integer.c62L
-rw-r--r--find_punishment_number_integer.py42L
-rw-r--r--find_replace_pattern.c48L
-rw-r--r--find_restaurant_arr_rem_anagram.c55L
-rw-r--r--find_restaurant_arr_rem_anagram.py36L
-rw-r--r--find_safe_walk_through_grid.c101L
-rw-r--r--find_safe_walk_through_grid.py58L
-rw-r--r--find_safest_path_grid.c183L
-rw-r--r--find_safest_path_grid.py60L
-rw-r--r--find_score_arr_mark.c55L
-rw-r--r--find_score_arr_mark.py33L
-rw-r--r--find_shortest_superstring.c149L
-rw-r--r--find_shortest_superstring.py54L
-rw-r--r--find_smallest_divisor_threshold.c40L
-rw-r--r--find_smallest_divisor_threshold.py33L
-rw-r--r--find_smallest_letter.c26L
-rw-r--r--find_smallest_letter.py28L
-rw-r--r--find_stable_binary_arr1.c61L
-rw-r--r--find_stable_binary_arr1.py38L
-rw-r--r--find_stable_binary_arr2.c79L
-rw-r--r--find_stable_binary_arr2.py37L
-rw-r--r--find_string_with_lcp.c78L
-rw-r--r--find_string_with_lcp.py60L
-rw-r--r--find_student_replace_chalk.c35L
-rw-r--r--find_student_replace_chalk.py36L
-rw-r--r--find_subseq_len_k_large_sum.c62L
-rw-r--r--find_subseq_len_k_large_sum.py32L
-rw-r--r--find_sum_arr_product_seq.c119L
-rw-r--r--find_sum_arr_product_seq.py76L
-rw-r--r--find_town_judge.c48L
-rw-r--r--find_town_judge.py33L
-rw-r--r--find_triangular_sum_arr.c26L
-rw-r--r--find_triangular_sum_arr.py28L
-rw-r--r--find_two_non_overlap_subarr.c115L
-rw-r--r--find_two_non_overlap_subarr.py39L
-rw-r--r--find_unique_binary_str.c34L
-rw-r--r--find_unique_binary_str.py20L
-rw-r--r--find_val_mysterious_func_target.c27L
-rw-r--r--find_val_mysterious_func_target.py30L
-rw-r--r--find_valid_matrix_row_col.c53L
-rw-r--r--find_valid_matrix_row_col.py32L
-rw-r--r--find_winner_arr_game.c33L
-rw-r--r--find_winner_arr_game.py31L
-rw-r--r--find_winner_circular_game.c23L
-rw-r--r--find_winner_circular_game.py29L
-rw-r--r--find_words_contain_char.c40L
-rw-r--r--find_words_contain_char.py24L
-rw-r--r--find_x_sum_k_subarr1.c64L
-rw-r--r--find_x_sum_k_subarr1.py39L
-rw-r--r--find_x_sum_k_subarr2.c377L
-rw-r--r--find_x_sum_k_subarr2.py92L
-rw-r--r--finding_3_digit_even_num.c59L
-rw-r--r--finding_3_digit_even_num.py32L
-rw-r--r--finding_pairs_certain_sum.py54L
-rw-r--r--first_bad_version.c32L
-rw-r--r--first_bad_version.py31L
-rw-r--r--first_completely_painted_rc.c67L
-rw-r--r--first_completely_painted_rc.py39L
-rw-r--r--first_missing_positive.c40L
-rw-r--r--first_missing_positive.py33L
-rw-r--r--first_unique_char_string.c29L
-rw-r--r--first_unique_char_string.py28L
-rw-r--r--fizz_buzz_multithread.c145L
-rw-r--r--fizz_buzz_multithread.py94L
-rw-r--r--flatten_nested_iterator.c81L
-rw-r--r--flatten_nested_iterator.py54L
-rw-r--r--flip_col_max_equal_row.c54L
-rw-r--r--flip_col_max_equal_row.py30L
-rw-r--r--flip_equivalent_binary_tree.c94L
-rw-r--r--flip_equivalent_binary_tree.py57L
-rw-r--r--flip_square_submat_vertically.c75L
-rw-r--r--flip_square_submat_vertically.py34L
-rw-r--r--flip_string_monotone_increase.c23L
-rw-r--r--flipping_an_image.c58L
-rw-r--r--flipping_an_image.py27L
-rw-r--r--flood_fill.c72L
-rw-r--r--flood_fill.py37L
-rw-r--r--four_divisors.c49L
-rw-r--r--four_divisors.py48L
-rw-r--r--fraction_addition_subtraction.c88L
-rw-r--r--fraction_addition_subtraction.py36L
-rw-r--r--fraction_to_recurring_decimal.c92L
-rw-r--r--fraction_to_recurring_decimal.py36L
-rw-r--r--freedom_trail.c53L
-rw-r--r--freedom_trail.py55L
-rw-r--r--freq_most_freq_element.c38L
-rw-r--r--freq_most_freq_element.py33L
-rw-r--r--frog_jump.c78L
-rw-r--r--frog_jump.py31L
-rw-r--r--front_middle_back_queue.c182L
-rw-r--r--front_middle_back_queue.py64L
-rw-r--r--fruit_into_baskets.c64L
-rw-r--r--fruit_into_baskets.py37L
-rw-r--r--fruit_into_baskets2.c41L
-rw-r--r--fruit_into_baskets2.py39L
-rw-r--r--fruit_into_baskets3.c89L
-rw-r--r--fruit_into_baskets3.py50L
-rw-r--r--furthest_building_reach.c80L
-rw-r--r--furthest_building_reach.py36L
-rw-r--r--furthest_point_from_origin.c35L
-rw-r--r--furthest_point_from_origin.py22L
-rw-r--r--generate_binary_string_without_adj_0.c55L
-rw-r--r--generate_binary_string_without_adj_0.py36L
-rw-r--r--get_equal_substr_budget.c40L
-rw-r--r--get_equal_substr_budget.py35L
-rw-r--r--greatest_common_div_trav.c21L
-rw-r--r--greatest_common_div_trav.py68L
-rw-r--r--greatest_sum_div_three.c29L
-rw-r--r--greatest_sum_div_three.py30L
-rw-r--r--grey_code.c37L
-rw-r--r--grey_code.py28L
-rw-r--r--grid_game.c47L
-rw-r--r--grid_game.py34L
-rw-r--r--group_anagrams.c81L
-rw-r--r--group_anagrams.py29L
-rw-r--r--group_equivalent_string.c71L
-rw-r--r--group_ppl_size.c58L
-rw-r--r--group_ppl_size.py28L
-rw-r--r--grumpy_bookstore_owner.c43L
-rw-r--r--grumpy_bookstore_owner.py45L
-rw-r--r--h_index.c34L
-rw-r--r--h_index.py31L
-rw-r--r--hamming_distance.c22L
-rw-r--r--hamming_distance.py27L
-rw-r--r--hand_of_straights.c60L
-rw-r--r--hand_of_straights.py33L
-rw-r--r--happy_students.c34L
-rw-r--r--happy_students.py33L
-rw-r--r--height_binary_tree_removal.c99L
-rw-r--r--height_binary_tree_removal.py66L
-rw-r--r--height_checker.c38L
-rw-r--r--height_checker.py42L
-rw-r--r--house_robber.c37L
-rw-r--r--house_robber.py32L
-rw-r--r--house_robber4.c36L
-rw-r--r--house_robber4.py45L
-rw-r--r--idx_first_occur_str.c49L
-rw-r--r--image_smoother.c36L
-rw-r--r--image_smoother.py39L
-rw-r--r--implement_queue_stacks.c75L
-rw-r--r--implement_queue_stacks.py53L
-rw-r--r--implement_router.c280L
-rw-r--r--implement_router.py79L
-rw-r--r--implement_stack_queues.c139L
-rw-r--r--increment_submatrices_one.c75L
-rw-r--r--increment_submatrices_one.py43L
-rw-r--r--incremental_memory_leak.c43L
-rw-r--r--incremental_memory_leak.py37L
-rw-r--r--inform_employees.c65L
-rw-r--r--insert_delete_getrandom.c124L
-rw-r--r--insert_delete_getrandom.py72L
-rw-r--r--insert_gcd_linked_list.c45L
-rw-r--r--insert_gcd_linked_list.py46L
-rw-r--r--insert_interval.c52L
-rw-r--r--insert_interval.py31L
-rw-r--r--integer_break.c37L
-rw-r--r--integer_break.py24L
-rw-r--r--integer_english_words.c69L
-rw-r--r--integer_english_words.py39L
-rw-r--r--integer_replacement.c32L
-rw-r--r--integer_replacement.py35L
-rw-r--r--interleaving_string.c63L
-rw-r--r--intersection_2_array.c53L
-rw-r--r--intersection_2_array.py23L
-rw-r--r--intersection_2_array2.c38L
-rw-r--r--intersection_2_array2.py32L
-rw-r--r--intervals_between_identical_element.c87L
-rw-r--r--intervals_between_identical_element.py39L
-rw-r--r--invert_binary_tree.c21L
-rw-r--r--ipo.c107L
-rw-r--r--ipo.py42L
-rw-r--r--is_graph_biparite.c79L
-rw-r--r--is_subseq.c31L
-rw-r--r--is_subseq.py30L
-rw-r--r--island_perimeter.c35L
-rw-r--r--island_perimeter.py43L
-rw-r--r--isomorphic_strings.c29L
-rw-r--r--isomorphic_strings.py32L
-rw-r--r--iterator_for_combination.c67L
-rw-r--r--iterator_for_combination.py59L
-rw-r--r--jump_game2.c34L
-rw-r--r--jump_game3.c31L
-rw-r--r--jump_game3.py33L
-rw-r--r--jump_game4.c96L
-rw-r--r--jump_game4.py34L
-rw-r--r--jump_game5.c54L
-rw-r--r--jump_game5.py42L
-rw-r--r--jump_game7.c44L
-rw-r--r--jump_game7.py32L
-rw-r--r--jump_game9.c67L
-rw-r--r--jump_game9.py39L
-rw-r--r--k_closest_points_origin.c120L
-rw-r--r--k_closest_points_origin.py45L
-rw-r--r--k_concatenation_max_sum.c46L
-rw-r--r--k_concatenation_max_sum.py43L
-rw-r--r--k_diff_pair_array.c43L
-rw-r--r--k_diff_pair_array.py30L
-rw-r--r--k_div_element_subarr.c64L
-rw-r--r--k_div_element_subarr.py37L
-rw-r--r--k_radius_subarr.c65L
-rw-r--r--keep_multiplying_val_two.c29L
-rw-r--r--keep_multiplying_val_two.py33L
-rw-r--r--keyboard_row.c50L
-rw-r--r--keyboard_row.py32L
-rw-r--r--kids_max_num_candy.c43L
-rw-r--r--knight_dialer.c65L
-rw-r--r--knight_dialer.py42L
-rw-r--r--knight_probability_chessboard.c62L
-rw-r--r--koko_eating_bananas.c29L
-rw-r--r--kth_ancestor_treenode.c71L
-rw-r--r--kth_ancestor_treenode.py45L
-rw-r--r--kth_distinct_str.c55L
-rw-r--r--kth_distinct_str.py28L
-rw-r--r--kth_largest_element.c54L
-rw-r--r--kth_largest_element_stream.c103L
-rw-r--r--kth_largest_element_stream.py46L
-rw-r--r--kth_largest_sum_binary_tree.c85L
-rw-r--r--kth_largest_sum_binary_tree.py45L
-rw-r--r--kth_lex_str_happy_n.c39L
-rw-r--r--kth_lex_str_happy_n.py37L
-rw-r--r--kth_missing_pos_num.c26L
-rw-r--r--kth_smallest_amount_single_denom.c52L
-rw-r--r--kth_smallest_amount_single_denom.py50L
-rw-r--r--kth_smallest_lexicographical.c36L
-rw-r--r--kth_smallest_lexicographical.py36L
-rw-r--r--kth_smallest_prime_fraction.c76L
-rw-r--r--kth_smallest_prime_fraction.py39L
-rw-r--r--kth_smallest_product_sort_arr.c95L
-rw-r--r--kth_smallest_product_sort_arr.py45L
-rw-r--r--kth_symbol_grammar.c27L
-rw-r--r--kth_symbol_grammar.py22L
-rw-r--r--largest_3_digit_string.c29L
-rw-r--r--largest_3_digit_string.py39L
-rw-r--r--largest_and_greater_zero.c26L
-rw-r--r--largest_and_greater_zero.py24L
-rw-r--r--largest_colour_val_dir_graph.c118L
-rw-r--r--largest_colour_val_dir_graph.py57L
-rw-r--r--largest_divisible_subset.c58L
-rw-r--r--largest_divisible_subset.py31L
-rw-r--r--largest_local_val_matrix.c55L
-rw-r--r--largest_local_val_matrix.py43L
-rw-r--r--largest_magic_square.c69L
-rw-r--r--largest_magic_square.py53L
-rw-r--r--largest_number.c82L
-rw-r--r--largest_number.py36L
-rw-r--r--largest_odd_num_string.c26L
-rw-r--r--largest_odd_num_string.py27L
-rw-r--r--largest_perimeter_triangle.c24L
-rw-r--r--largest_perimeter_triangle.py26L
-rw-r--r--largest_pos_int_neg.c36L
-rw-r--r--largest_pos_int_neg.py35L
-rw-r--r--largest_rectangle_histogram.c32L
-rw-r--r--largest_rectangle_histogram.py30L
-rw-r--r--largest_submatrix.c56L
-rw-r--r--largest_submatrix.py32L
-rw-r--r--largest_substr_eq_char.c32L
-rw-r--r--largest_substr_eq_char.py29L
-rw-r--r--largest_triangle_area.c37L
-rw-r--r--largest_triangle_area.py34L
-rw-r--r--last_day_where_you_can_cross.c93L
-rw-r--r--last_day_where_you_can_cross.py87L
-rw-r--r--last_stone_weight.c47L
-rw-r--r--latest_time_catch_bus.c48L
-rw-r--r--latest_time_catch_bus.py62L
-rw-r--r--leaf_similar_trees.c39L
-rw-r--r--leaf_similar_trees.py44L
-rw-r--r--least_num_unique_int.c41L
-rw-r--r--least_num_unique_int.py36L
-rw-r--r--leetcode.c140L
-rw-r--r--leetcode.h61L
-rw-r--r--leetcode.py70L
-rw-r--r--left_right_sum_diff.c45L
-rw-r--r--left_right_sum_diff.py30L
-rw-r--r--lemonade_change.c39L
-rw-r--r--lemonade_change.py41L
-rw-r--r--len_longest_fib_seq.c56L
-rw-r--r--len_longest_fib_seq.py32L
-rw-r--r--len_longest_subarr_k.c50L
-rw-r--r--len_longest_subarr_k.py35L
-rw-r--r--length_last_word.c31L
-rw-r--r--length_last_word.py29L
-rw-r--r--length_longest_vshape_diag_seg.c91L
-rw-r--r--length_longest_vshape_diag_seg.py78L
-rw-r--r--letter_case_permutation.c61L
-rw-r--r--letter_case_permutation.py23L
-rw-r--r--letter_combo_number.c69L
-rw-r--r--letter_tile_possibilities.c35L
-rw-r--r--letter_tile_possibilities.py31L
-rw-r--r--lex_min_str_rem_star.c141L
-rw-r--r--lex_min_str_rem_star.py46L
-rw-r--r--lex_smallest_beaut_str.c47L
-rw-r--r--lex_smallest_beaut_str.py36L
-rw-r--r--lex_smallest_str_op.c55L
-rw-r--r--lex_smallest_str_op.py47L
-rw-r--r--lexi_smallest_gen_str.c72L
-rw-r--r--lexi_smallest_gen_str.py43L
-rw-r--r--lexicographical_numbers.c39L
-rw-r--r--lexicographical_numbers.py31L
-rw-r--r--lexicographically_smallest_equivalent_str.c46L
-rw-r--r--lexicographically_smallest_equivalent_str.py49L
-rw-r--r--lfu_cache.c123L
m---------lib/uthash @ 619fe95
-rw-r--r--linked_list_binary_tree.c44L
-rw-r--r--linked_list_binary_tree.py104L
-rw-r--r--linked_list_cycle.c39L
-rw-r--r--linked_list_cycle.py35L
-rw-r--r--linked_list_cycle2.c34L
-rw-r--r--linked_list_random.c49L
-rw-r--r--long_nice_subarr.c28L
-rw-r--r--long_nice_subarr.py31L
-rw-r--r--long_strictly_incr_decr_subarr.c26L
-rw-r--r--long_strictly_incr_decr_subarr.py29L
-rw-r--r--longest_absolute_file_path.c69L
-rw-r--r--longest_absolute_file_path.py41L
-rw-r--r--longest_arithmetic_subseq.c44L
-rw-r--r--longest_arithmetic_subseq_diff.c32L
-rw-r--r--longest_balance_subarr1.c97L
-rw-r--r--longest_balance_subarr1.py34L
-rw-r--r--longest_balance_subarr2.c277L
-rw-r--r--longest_balance_subarr2.py91L
-rw-r--r--longest_balance_substr1.c40L
-rw-r--r--longest_balance_substr1.py40L
-rw-r--r--longest_balance_substr2.c142L
-rw-r--r--longest_balance_substr2.py41L
-rw-r--r--longest_binary_subseq_leq_k.c30L
-rw-r--r--longest_binary_subseq_leq_k.py29L
-rw-r--r--longest_common_suffix_queries.c116L
-rw-r--r--longest_common_suffix_queries.py65L
-rw-r--r--longest_cont_subarr_abs_diff.c42L
-rw-r--r--longest_cont_subarr_abs_diff.py41L
-rw-r--r--longest_cycle_graph.c57L
-rw-r--r--longest_happy_string.py47L
-rw-r--r--longest_harmonious_subseq.c62L
-rw-r--r--longest_harmonious_subseq.py26L
-rw-r--r--longest_ideal_subseq.c38L
-rw-r--r--longest_ideal_subseq.py33L
-rw-r--r--longest_increasing_subseq.c28L
-rw-r--r--longest_increasing_subseq.py28L
-rw-r--r--longest_increasing_subseq2.c42L
-rw-r--r--longest_increasing_subseq2.py33L
-rw-r--r--longest_palindrome.c27L
-rw-r--r--longest_palindrome.py34L
-rw-r--r--longest_palindrome_concat_two_word.c36L
-rw-r--r--longest_palindrome_concat_two_word.py46L
-rw-r--r--longest_palindromic_subseq.c40L
-rw-r--r--longest_palindromic_substr.c35L
-rw-r--r--longest_palindromic_substr.py30L
-rw-r--r--longest_path_diff_adjacent_char.c74L
-rw-r--r--longest_path_diff_adjacent_char.py48L
-rw-r--r--longest_repeat_char.c32L
-rw-r--r--longest_repeat_char.py29L
-rw-r--r--longest_square_streak_arr.c53L
-rw-r--r--longest_square_streak_arr.py36L
-rw-r--r--longest_string_chain.c75L
-rw-r--r--longest_string_chain.py25L
-rw-r--r--longest_subarr_max_bitwise_and.c35L
-rw-r--r--longest_subarr_max_bitwise_and.py27L
-rw-r--r--longest_subarr_ones.c32L
-rw-r--r--longest_subarr_ones.py32L
-rw-r--r--longest_subseq_nz_xor.c28L
-rw-r--r--longest_subseq_nz_xor.py26L
-rw-r--r--longest_subseq_repeat_k_time.c100L
-rw-r--r--longest_subseq_repeat_k_time.py45L
-rw-r--r--longest_substring_no_repeat.c39L
-rw-r--r--longest_unequal_adjacent_group1.c39L
-rw-r--r--longest_unequal_adjacent_group1.py33L
-rw-r--r--longest_unequal_adjacent_group2.c116L
-rw-r--r--longest_unequal_adjacent_group2.py50L
-rw-r--r--longest_uploaded_prefix.c64L
-rw-r--r--longest_uploaded_prefix.py49L
-rw-r--r--longest_valid_course.c67L
-rw-r--r--longest_valid_course.py40L
-rw-r--r--longest_well_perform_int.c32L
-rw-r--r--longest_well_perform_int.py30L
-rw-r--r--longest_zigzag_bt.c47L
-rw-r--r--low_common_ancestor_leaf.c49L
-rw-r--r--low_common_ancestor_leaf.py48L
-rw-r--r--lru_cache.c404L
-rw-r--r--lucky_nums_matrix.c52L
-rw-r--r--lucky_nums_matrix.py23L
-rw-r--r--magic_squares_grid.c59L
-rw-r--r--magic_squares_grid.py38L
-rw-r--r--magical_string.c38L
-rw-r--r--magnetic_force_2_balls.c43L
-rw-r--r--magnetic_force_2_balls.py45L
-rw-r--r--majority_element.c30L
-rw-r--r--majority_element.py24L
-rw-r--r--majority_element2.c71L
-rw-r--r--majority_element2.py32L
-rw-r--r--make_arr_elem_zero.c37L
-rw-r--r--make_arr_elem_zero.py40L
-rw-r--r--make_array_empty.c43L
-rw-r--r--make_array_empty.py31L
-rw-r--r--make_lex_small_arr.c64L
-rw-r--r--make_lex_small_arr.py36L
-rw-r--r--make_string_great.c40L
-rw-r--r--make_string_great.py38L
-rw-r--r--make_string_subseq_cyclic.c30L
-rw-r--r--make_string_subseq_cyclic.py33L
-rw-r--r--make_sum_divisible_p.c41L
-rw-r--r--make_sum_divisible_p.py34L
-rw-r--r--make_two_arr_eq_reverse.c34L
-rw-r--r--make_two_arr_eq_reverse.py31L
-rw-r--r--make_xor_segment_zero.c45L
-rw-r--r--make_xor_segment_zero.py41L
-rw-r--r--making_large_island.c102L
-rw-r--r--making_large_island.py51L
-rw-r--r--map_highest_peak.c115L
-rw-r--r--map_highest_peak.py42L
-rw-r--r--marbles_in_bags.c41L
-rw-r--r--marbles_in_bags.py33L
-rw-r--r--matchsticks_square.c61L
-rw-r--r--matrix_diagonal_sum.c34L
-rw-r--r--matrix_similarity_cyclic_shift.c44L
-rw-r--r--matrix_similarity_cyclic_shift.py28L
-rw-r--r--max_69_number.c29L
-rw-r--r--max_69_number.py23L
-rw-r--r--max_abs_sum_any_subarr.c26L
-rw-r--r--max_abs_sum_any_subarr.py25L
-rw-r--r--max_amount_money_robot_earn.c67L
-rw-r--r--max_amount_money_robot_earn.py51L
-rw-r--r--max_area_longest_diag_rect.c38L
-rw-r--r--max_area_longest_diag_rect.py30L
-rw-r--r--max_ascending_subarr_sum.c28L
-rw-r--r--max_ascending_subarr_sum.py29L
-rw-r--r--max_average_pass_ration.py41L
-rw-r--r--max_beauty_arr_apply_op.c32L
-rw-r--r--max_beauty_arr_apply_op.py35L
-rw-r--r--max_building_height.c72L
-rw-r--r--max_building_height.py44L
-rw-r--r--max_candies_allocated_k_children.c32L
-rw-r--r--max_candies_allocated_k_children.py34L
-rw-r--r--max_candies_from_boxes.c87L
-rw-r--r--max_candies_from_boxes.py60L
-rw-r--r--max_chunks_make_sorted.c27L
-rw-r--r--max_chunks_make_sorted.py25L
-rw-r--r--max_cnt_pos_neg_int.c36L
-rw-r--r--max_cnt_pos_neg_int.py24L
-rw-r--r--max_compatibility_score_sum.c75L
-rw-r--r--max_compatibility_score_sum.py53L
-rw-r--r--max_depth_binary_tree.c22L
-rw-r--r--max_diff_between_adj_elem.c23L
-rw-r--r--max_diff_between_adj_elem.py27L
-rw-r--r--max_diff_between_incr_elem.c25L
-rw-r--r--max_diff_between_incr_elem.py28L
-rw-r--r--max_diff_change_int.c44L
-rw-r--r--max_diff_change_int.py35L
-rw-r--r--max_diff_even_odd_freq1.c31L
-rw-r--r--max_diff_even_odd_freq1.py33L
-rw-r--r--max_diff_even_odd_freq2.c120L
-rw-r--r--max_diff_even_odd_freq2.py78L
-rw-r--r--max_diff_node_ancestor.c49L
-rw-r--r--max_diff_node_ancestor.py48L
-rw-r--r--max_diff_remap_digit.c30L
-rw-r--r--max_diff_remap_digit.py26L
-rw-r--r--max_dist_between_val_pair.c36L
-rw-r--r--max_dist_between_val_pair.py28L
-rw-r--r--max_distance_arr.c29L
-rw-r--r--max_distance_arr.py27L
-rw-r--r--max_distance_closest_person.c42L
-rw-r--r--max_dot_product.c44L
-rw-r--r--max_dot_product.py37L
-rw-r--r--max_element_decr_rearr.c41L
-rw-r--r--max_element_decr_rearr.py33L
-rw-r--r--max_employees_invited.c78L
-rw-r--r--max_employees_invited.py61L
-rw-r--r--max_equal_freq.c61L
-rw-r--r--max_equal_freq.py38L
-rw-r--r--max_freq_elem_op1.c44L
-rw-r--r--max_freq_elem_op1.py43L
-rw-r--r--max_freq_elem_op2.c137L
-rw-r--r--max_freq_elem_op2.py58L
-rw-r--r--max_fruits_harvested_k_step.c144L
-rw-r--r--max_fruits_harvested_k_step.py52L
-rw-r--r--max_height_stacking_cuboids.c75L
-rw-r--r--max_height_stacking_cuboids.py43L
-rw-r--r--max_ice_cream_bars.c48L
-rw-r--r--max_ice_cream_bars.py23L
-rw-r--r--max_increase_city_skyline.c56L
-rw-r--r--max_increase_city_skyline.py42L
-rw-r--r--max_len_concat_str.c69L
-rw-r--r--max_len_concat_str.py34L
-rw-r--r--max_len_subarr_pos_product.c36L
-rw-r--r--max_len_subarr_pos_product.py39L
-rw-r--r--max_length_pair_chain.c36L
-rw-r--r--max_manhattan_dist_k_change.c39L
-rw-r--r--max_manhattan_dist_k_change.py35L
-rw-r--r--max_match_players_trainers.c35L
-rw-r--r--max_match_players_trainers.py35L
-rw-r--r--max_min_powered_city.c68L
-rw-r--r--max_min_powered_city.py58L
-rw-r--r--max_nesting_depth_parentheses.c21L
-rw-r--r--max_nesting_depth_parentheses.py26L
-rw-r--r--max_network_rank.c42L
-rw-r--r--max_non_neg_prod_mat.c79L
-rw-r--r--max_non_neg_prod_mat.py47L
-rw-r--r--max_num_balloons.c38L
-rw-r--r--max_num_balloons.py22L
-rw-r--r--max_num_distinct_elemt_op.c31L
-rw-r--r--max_num_distinct_elemt_op.py28L
-rw-r--r--max_num_events_attended.c9L
-rw-r--r--max_num_events_attended.py37L
-rw-r--r--max_num_events_attended2.c74L
-rw-r--r--max_num_events_attended2.py39L
-rw-r--r--max_num_fish_grid.c50L
-rw-r--r--max_num_fish_grid.py46L
-rw-r--r--max_num_flips_binary_matrix.c84L
-rw-r--r--max_num_flips_binary_matrix.py42L
-rw-r--r--max_num_group_entre_comp.c35L
-rw-r--r--max_num_group_entre_comp.py31L
-rw-r--r--max_num_int_choose_range1.c38L
-rw-r--r--max_num_int_choose_range1.py35L
-rw-r--r--max_num_jumps_last_idx.c46L
-rw-r--r--max_num_jumps_last_idx.py34L
-rw-r--r--max_num_k_div_comp.c103L
-rw-r--r--max_num_k_div_comp.py66L
-rw-r--r--max_num_moves_grid.c44L
-rw-r--r--max_num_moves_grid.py43L
-rw-r--r--max_num_ops_move_one_end.c26L
-rw-r--r--max_num_ops_move_one_end.py31L
-rw-r--r--max_num_partition_op.c87L
-rw-r--r--max_num_partition_op.py88L
-rw-r--r--max_num_point_cost.c46L
-rw-r--r--max_num_point_cost.py52L
-rw-r--r--max_num_point_grid_query.c123L
-rw-r--r--max_num_point_grid_query.py49L
-rw-r--r--max_num_robot_budget.c51L
-rw-r--r--max_num_sum_leq_k.c62L
-rw-r--r--max_num_sum_leq_k.py46L
-rw-r--r--max_num_tasks_assign.py64L
-rw-r--r--max_num_vowel_substr.c39L
-rw-r--r--max_num_words_type.c42L
-rw-r--r--max_num_words_type.py37L
-rw-r--r--max_odd_binary_num.c32L
-rw-r--r--max_odd_binary_num.py29L
-rw-r--r--max_path_quality_graph.c93L
-rw-r--r--max_path_quality_graph.py66L
-rw-r--r--max_path_score_grid.c73L
-rw-r--r--max_path_score_grid.py46L
-rw-r--r--max_points_from_cards.c38L
-rw-r--r--max_product_3num.c42L
-rw-r--r--max_product_diff_pair.c36L
-rw-r--r--max_product_diff_pair.py27L
-rw-r--r--max_product_len_palindrome_subseq.c46L
-rw-r--r--max_product_len_palindrome_subseq.py46L
-rw-r--r--max_product_split_bin_tree.c44L
-rw-r--r--max_product_split_bin_tree.py44L
-rw-r--r--max_product_two_elem.c30L
-rw-r--r--max_product_two_elem.py31L
-rw-r--r--max_profit_job.c63L
-rw-r--r--max_profit_job.py47L
-rw-r--r--max_profit_trade_stocks.c196L
-rw-r--r--max_profit_trade_stocks.py93L
-rw-r--r--max_repeat_substr.c39L
-rw-r--r--max_repeat_substr.py43L
-rw-r--r--max_running_time_n_computer.c39L
-rw-r--r--max_running_time_n_computer.py39L
-rw-r--r--max_score_good_subarr.c41L
-rw-r--r--max_score_good_subarr.py28L
-rw-r--r--max_score_grid_operations.c111L
-rw-r--r--max_score_grid_operations.py89L
-rw-r--r--max_score_perform_op.c39L
-rw-r--r--max_score_perform_op.py37L
-rw-r--r--max_score_removing_substr.c42L
-rw-r--r--max_score_removing_substr.py41L
-rw-r--r--max_score_split_str.c32L
-rw-r--r--max_score_split_str.py31L
-rw-r--r--max_score_word_letters.c98L
-rw-r--r--max_score_word_letters.py147L
-rw-r--r--max_side_length_square.c52L
-rw-r--r--max_side_length_square.py56L
-rw-r--r--max_square_area_remove_fence.c74L
-rw-r--r--max_square_area_remove_fence.py44L
-rw-r--r--max_star_sum_graph.c74L
-rw-r--r--max_star_sum_graph.py42L
-rw-r--r--max_students_taking_exam.c55L
-rw-r--r--max_students_taking_exam.py89L
-rw-r--r--max_subarr_remove_conflict_pair.c63L
-rw-r--r--max_subarr_remove_conflict_pair.py38L
-rw-r--r--max_subseq_score.c99L
-rw-r--r--max_sum_3_noverlap_subarr.py53L
-rw-r--r--max_sum_binary_tree.c46L
-rw-r--r--max_sum_binary_tree.py32L
-rw-r--r--max_sum_circular_subarr.c46L
-rw-r--r--max_sum_distinct_subarr.c66L
-rw-r--r--max_sum_distinct_subarr.py35L
-rw-r--r--max_sum_pair_equal_digits.c32L
-rw-r--r--max_sum_pair_equal_digits.py30L
-rw-r--r--max_total_damage_spell_casting.c42L
-rw-r--r--max_total_damage_spell_casting.py45L
-rw-r--r--max_total_importance_road.c38L
-rw-r--r--max_total_importance_road.py37L
-rw-r--r--max_total_subarr_val1.c30L
-rw-r--r--max_total_subarr_val1.py25L
-rw-r--r--max_total_subarr_val2.c135L
-rw-r--r--max_total_subarr_val2.py63L
-rw-r--r--max_tranfer_requests.c42L
-rw-r--r--max_twin_sum_list.c62L
-rw-r--r--max_twin_sum_list.py38L
-rw-r--r--max_unique_subrr_sum_delete.c40L
-rw-r--r--max_unique_subrr_sum_delete.py28L
-rw-r--r--max_value_give_idx.c51L
-rw-r--r--max_value_ordered_triplet1.c28L
-rw-r--r--max_value_ordered_triplet1.py32L
-rw-r--r--max_value_ordered_triplet2.c28L
-rw-r--r--max_value_ordered_triplet2.py32L
-rw-r--r--max_walls_destroy_robots.c166L
-rw-r--r--max_walls_destroy_robots.py52L
-rw-r--r--max_width_binary_tree.c104L
-rw-r--r--max_xor_after_op.c26L
-rw-r--r--max_xor_after_op.py25L
-rw-r--r--max_xor_two_num_arr.c87L
-rw-r--r--max_xor_two_num_arr.py30L
-rw-r--r--maximal_rectangle.c58L
-rw-r--r--maximal_rectangle.py45L
-rw-r--r--maximal_score_apply_k_operation.c53L
-rw-r--r--maximal_score_apply_k_operation.py36L
-rw-r--r--maximise_area_square_hole.c50L
-rw-r--r--maximise_area_square_hole.py37L
-rw-r--r--maximise_confusion_exam.c45L
-rw-r--r--maximise_dist_point_square.c113L
-rw-r--r--maximise_dist_point_square.py58L
-rw-r--r--maximise_grid_happiness.py52L
-rw-r--r--maximise_happiness_children.c32L
-rw-r--r--maximise_happiness_children.py36L
-rw-r--r--maximise_num_div.c38L
-rw-r--r--maximise_num_div.py34L
-rw-r--r--maximise_num_target_node_tree1.py64L
-rw-r--r--maximise_num_target_node_tree2.c142L
-rw-r--r--maximise_num_target_node_tree2.py63L
-rw-r--r--maximise_spanning_tree_upgrade.c158L
-rw-r--r--maximise_spanning_tree_upgrade.py93L
-rw-r--r--maximum_average_pass_ratio.c130L
-rw-r--r--maximum_average_pass_ratio.py39L
-rw-r--r--maximum_erasure_value.c40L
-rw-r--r--maximum_erasure_value.py37L
-rw-r--r--maximum_matrix_sum.c40L
-rw-r--r--maximum_matrix_sum.py34L
-rw-r--r--maximum_subarr_sum_len_div_k.c30L
-rw-r--r--maximum_subarr_sum_len_div_k.py30L
-rw-r--r--maximum_subarray.c27L
-rw-r--r--maximum_subarray.py29L
-rw-r--r--maximum_swap.c39L
-rw-r--r--maximum_swap.py30L
-rw-r--r--maximum_width_ramp.c33L
-rw-r--r--maximum_width_ramp.py30L
-rw-r--r--maximum_xor_query.c41L
-rw-r--r--maximum_xor_query.py31L
-rw-r--r--mean_arr_remove_element.c32L
-rw-r--r--mean_arr_remove_element.py75L
-rw-r--r--median_two_sorted_arr.c42L
-rw-r--r--median_two_sorted_arr.py42L
-rw-r--r--meeting_rooms3.c77L
-rw-r--r--meeting_rooms3.py60L
-rw-r--r--merge_between_linked_list.c40L
-rw-r--r--merge_between_linked_list.py53L
-rw-r--r--merge_intervals.c64L
-rw-r--r--merge_intervals.py28L
-rw-r--r--merge_k_sorted_list.c47L
-rw-r--r--merge_nodes_between_zero.c59L
-rw-r--r--merge_nodes_between_zero.py37L
-rw-r--r--merge_string_alt.c32L
-rw-r--r--merge_two_2d_arr_sum.c92L
-rw-r--r--merge_two_2d_arr_sum.py42L
-rw-r--r--middle_linked_list.c23L
-rw-r--r--middle_linked_list.py26L
-rw-r--r--min_abs_diff.c70L
-rw-r--r--min_abs_diff.py27L
-rw-r--r--min_abs_diff_bst.c52L
-rw-r--r--min_abs_diff_sliding_submat.c108L
-rw-r--r--min_abs_diff_sliding_submat.py54L
-rw-r--r--min_abs_dist_mirror_pair.c99L
-rw-r--r--min_abs_dist_mirror_pair.py27L
-rw-r--r--min_add_make_parenthese_valid.c30L
-rw-r--r--min_add_make_parenthese_valid.py33L
-rw-r--r--min_addition_beauty_int.c48L
-rw-r--r--min_ascii_strs.c36L
-rw-r--r--min_ascii_strs.py35L
-rw-r--r--min_balls_in_bag.c36L
-rw-r--r--min_balls_in_bag.py35L
-rw-r--r--min_bit_flips_convert_num.c18L
-rw-r--r--min_bit_flips_convert_num.py24L
-rw-r--r--min_change_alt_binary_str.c32L
-rw-r--r--min_change_alt_binary_str.py23L
-rw-r--r--min_common_value.c54L
-rw-r--r--min_common_value.py26L
-rw-r--r--min_cost_arr_equal.c51L
-rw-r--r--min_cost_arr_equalindromic.c64L
-rw-r--r--min_cost_arr_equalindromic.py40L
-rw-r--r--min_cost_buy_candles.c35L
-rw-r--r--min_cost_buy_candles.py23L
-rw-r--r--min_cost_climbing_stairs.c28L
-rw-r--r--min_cost_climbing_stairs.py25L
-rw-r--r--min_cost_connect_points.c78L
-rw-r--r--min_cost_connect_points.py43L
-rw-r--r--min_cost_connect_two_group.c77L
-rw-r--r--min_cost_connect_two_group.py49L
-rw-r--r--min_cost_convert_str2.c117L
-rw-r--r--min_cost_convert_str2.py102L
-rw-r--r--min_cost_convert_string1.c60L
-rw-r--r--min_cost_convert_string1.py102L
-rw-r--r--min_cost_cut_stick.c63L
-rw-r--r--min_cost_hire_k_worker.c111L
-rw-r--r--min_cost_hire_k_worker.py45L
-rw-r--r--min_cost_merge_stones.c49L
-rw-r--r--min_cost_merge_stones.py43L
-rw-r--r--min_cost_path_edge_rev.c148L
-rw-r--r--min_cost_path_edge_rev.py52L
-rw-r--r--min_cost_path_teleportation.c94L
-rw-r--r--min_cost_path_teleportation.py57L
-rw-r--r--min_cost_ticket.c38L
-rw-r--r--min_cost_ticket.py42L
-rw-r--r--min_cost_valid_path.c113L
-rw-r--r--min_cost_valid_path.py44L
-rw-r--r--min_cost_walk_weight_graph.py72L
-rw-r--r--min_days_make_bouquets.c58L
-rw-r--r--min_days_make_bouquets.py45L
-rw-r--r--min_del_make_str_special.c30L
-rw-r--r--min_del_make_str_special.py33L
-rw-r--r--min_deletions_balance_str.c32L
-rw-r--r--min_deletions_balance_str.py30L
-rw-r--r--min_deletions_unique_char.c40L
-rw-r--r--min_deletions_unique_char.py31L
-rw-r--r--min_depth_binary_tree.c23L
-rw-r--r--min_deviation_arr.c88L
-rw-r--r--min_diff_high_low_k_score.c28L
-rw-r--r--min_diff_high_low_k_score.py25L
-rw-r--r--min_diff_large_small_3_move.c29L
-rw-r--r--min_diff_large_small_3_move.py24L
-rw-r--r--min_diff_sum_remove_elem.py51L
-rw-r--r--min_difficulty_schedule.c51L
-rw-r--r--min_difficulty_schedule.py52L
-rw-r--r--min_dist_betw_3eq_elem.c39L
-rw-r--r--min_dist_betw_3eq_elem.py32L
-rw-r--r--min_dist_betw_3eq_elem2.c57L
-rw-r--r--min_dist_betw_3eq_elem2.py27L
-rw-r--r--min_dist_bst_node.c36L
-rw-r--r--min_dist_target_elem.c32L
-rw-r--r--min_dist_target_elem.py20L
-rw-r--r--min_dist_type_word_two_fig.c76L
-rw-r--r--min_dist_type_word_two_fig.py45L
-rw-r--r--min_domino_rotation_eq_row.c40L
-rw-r--r--min_domino_rotation_eq_row.py30L
-rw-r--r--min_element_replace_digit_sum.c31L
-rw-r--r--min_element_replace_digit_sum.py20L
-rw-r--r--min_equal_sum_two_arr.c35L
-rw-r--r--min_equal_sum_two_arr.py30L
-rw-r--r--min_falling_path_sum.c37L
-rw-r--r--min_falling_path_sum.py41L
-rw-r--r--min_falling_path_sum2.c42L
-rw-r--r--min_falling_path_sum2.py28L
-rw-r--r--min_flips_abc.c39L
-rw-r--r--min_flips_bin_string.c41L
-rw-r--r--min_flips_bin_string.py32L
-rw-r--r--min_fuel_report_captial.c82L
-rw-r--r--min_height_tree.c64L
-rw-r--r--min_height_tree.py43L
-rw-r--r--min_idx_valid_split.c43L
-rw-r--r--min_idx_valid_split.py35L
-rw-r--r--min_incr_arr_unique.c31L
-rw-r--r--min_increment_arr_unique.c30L
-rw-r--r--min_increment_arr_unique.py27L
-rw-r--r--min_initial_energy_tasks.c51L
-rw-r--r--min_initial_energy_tasks.py25L
-rw-r--r--min_insertion_make_palindrome.c47L
-rw-r--r--min_jumps_end_prime_tele.c159L
-rw-r--r--min_jumps_end_prime_tele.py60L
-rw-r--r--min_len_str_del_end.c33L
-rw-r--r--min_len_str_del_end.py30L
-rw-r--r--min_len_str_ops.c30L
-rw-r--r--min_len_str_ops.py32L
-rw-r--r--min_max_array.c28L
-rw-r--r--min_max_diff_pair.c36L
-rw-r--r--min_max_diff_pair.py42L
-rw-r--r--min_max_pair_arr.c27L
-rw-r--r--min_max_pair_arr.py25L
-rw-r--r--min_money_required_trans.c40L
-rw-r--r--min_move_palindrome.c76L
-rw-r--r--min_moves_arr_complementary.c113L
-rw-r--r--min_moves_arr_complementary.py37L
-rw-r--r--min_moves_equal_array.c23L
-rw-r--r--min_moves_equal_array.py22L
-rw-r--r--min_num_arrow_balloon.c53L
-rw-r--r--min_num_arrow_balloon.py31L
-rw-r--r--min_num_change_binary_str.c25L
-rw-r--r--min_num_change_binary_str.py29L
-rw-r--r--min_num_days_disconnect_island.py62L
-rw-r--r--min_num_flip_bin_grid_palin2.c52L
-rw-r--r--min_num_flip_bin_grid_palin2.py42L
-rw-r--r--min_num_func_call_arr.c32L
-rw-r--r--min_num_func_call_arr.py26L
-rw-r--r--min_num_game.c39L
-rw-r--r--min_num_game.py29L
-rw-r--r--min_num_incr_subarr_target.c28L
-rw-r--r--min_num_incr_subarr_target.py31L
-rw-r--r--min_num_k_consec_bit_flip.c40L
-rw-r--r--min_num_k_consec_bit_flip.py37L
-rw-r--r--min_num_moves_seat_everyone.c43L
-rw-r--r--min_num_moves_seat_everyone.py29L
-rw-r--r--min_num_op_elem_distinct.c30L
-rw-r--r--min_num_op_elem_distinct.py31L
-rw-r--r--min_num_opp_arr_cont.c42L
-rw-r--r--min_num_opp_arr_cont.py32L
-rw-r--r--min_num_opp_arr_equal_1.c53L
-rw-r--r--min_num_opp_arr_equal_1.py38L
-rw-r--r--min_num_opp_arr_equal_xor.c34L
-rw-r--r--min_num_opp_arr_equal_xor.py35L
-rw-r--r--min_num_ops_arr_empty.c34L
-rw-r--r--min_num_ops_arr_empty.py34L
-rw-r--r--min_num_ops_ball_box.c39L
-rw-r--r--min_num_ops_ball_box.py38L
-rw-r--r--min_num_ops_sort_bt.c89L
-rw-r--r--min_num_ops_sort_bt.py64L
-rw-r--r--min_num_people_teach.c84L
-rw-r--r--min_num_people_teach.py61L
-rw-r--r--min_num_push_word2.c45L
-rw-r--r--min_num_push_word2.py33L
-rw-r--r--min_num_remove_mountain_arr.py39L
-rw-r--r--min_num_sec_mountain_height.c64L
-rw-r--r--min_num_sec_mountain_height.py29L
-rw-r--r--min_num_steps_anagram.c31L
-rw-r--r--min_num_steps_anagram.py34L
-rw-r--r--min_num_swap_string_balance.c32L
-rw-r--r--min_num_swap_string_balance.py33L
-rw-r--r--min_num_vertices_node.c48L
-rw-r--r--min_num_work_session.c58L
-rw-r--r--min_num_work_session.py41L
-rw-r--r--min_obstacle_removal_corner.c128L
-rw-r--r--min_obstacle_removal_corner.py42L
-rw-r--r--min_one_bit_op_zero.c29L
-rw-r--r--min_one_bit_op_zero.py28L
-rw-r--r--min_operations_arr_eq.c58L
-rw-r--r--min_operations_arr_eq.py35L
-rw-r--r--min_operations_subseq.c94L
-rw-r--r--min_operations_subseq.py45L
-rw-r--r--min_operations_write_y_grid.c59L
-rw-r--r--min_operations_write_y_grid.py52L
-rw-r--r--min_operations_x_zero.c87L
-rw-r--r--min_operations_x_zero.py36L
-rw-r--r--min_ops_arr_elem_zero.c43L
-rw-r--r--min_ops_arr_elem_zero.py37L
-rw-r--r--min_ops_arr_eq_k.c35L
-rw-r--r--min_ops_arr_eq_k.py37L
-rw-r--r--min_ops_arr_sum_div_k.c23L
-rw-r--r--min_ops_arr_sum_div_k.py25L
-rw-r--r--min_ops_bin_arr_1.c29L
-rw-r--r--min_ops_bin_arr_1.py32L
-rw-r--r--min_ops_convert_elem_zero.c36L
-rw-r--r--min_ops_convert_elem_zero.py35L
-rw-r--r--min_ops_equal_bin_str.c53L
-rw-r--r--min_ops_equal_bin_str.py35L
-rw-r--r--min_ops_exceed_threshold2.c36L
-rw-r--r--min_ops_exceed_threshold2.py45L
-rw-r--r--min_ops_make_int_zero.c36L
-rw-r--r--min_ops_make_int_zero.py39L
-rw-r--r--min_ops_uni_val_grid.c55L
-rw-r--r--min_ops_uni_val_grid.py32L
-rw-r--r--min_or_remaining_element.c45L
-rw-r--r--min_or_remaining_element.py40L
-rw-r--r--min_pair_removal_sort_arr1.c44L
-rw-r--r--min_pair_removal_sort_arr1.py44L
-rw-r--r--min_path_sum.c20L
-rw-r--r--min_penalty_shop.c45L
-rw-r--r--min_penalty_shop.py50L
-rw-r--r--min_recolour_k_block.c39L
-rw-r--r--min_recolour_k_block.py42L
-rw-r--r--min_removals_balance_arr.c38L
-rw-r--r--min_removals_balance_arr.py34L
-rw-r--r--min_remove_valid_parentheses.c44L
-rw-r--r--min_remove_valid_parentheses.py38L
-rw-r--r--min_replacement_array.c34L
-rw-r--r--min_replacement_array.py16L
-rw-r--r--min_score_path_city.c53L
-rw-r--r--min_score_path_city.py39L
-rw-r--r--min_score_polygon.c35L
-rw-r--r--min_score_polygon.py37L
-rw-r--r--min_score_removal_tree.py65L
-rw-r--r--min_size_subarr_sum.c37L
-rw-r--r--min_speed_arrive_time.c44L
-rw-r--r--min_string_len_remove_substr.c33L
-rw-r--r--min_string_len_remove_substr.py36L
-rw-r--r--min_swap_arrange_bin_grid.c69L
-rw-r--r--min_swap_arrange_bin_grid.py42L
-rw-r--r--min_swap_group_1.c52L
-rw-r--r--min_swap_group_1.py33L
-rw-r--r--min_taps_open_water.c49L
-rw-r--r--min_time_collect_garbage.c46L
-rw-r--r--min_time_collect_garbage.py39L
-rw-r--r--min_time_complete_trip.c33L
-rw-r--r--min_time_difference.c31L
-rw-r--r--min_time_difference.py30L
-rw-r--r--min_time_make_rope_colourful.c38L
-rw-r--r--min_time_make_rope_colourful.py41L
-rw-r--r--min_time_repair_car.c31L
-rw-r--r--min_time_repair_car.py36L
-rw-r--r--min_time_vis_points.c42L
-rw-r--r--min_time_vis_points.py29L
-rw-r--r--min_time_visit_cell_grid.py44L
-rw-r--r--min_total_distance_traveled.c249L
-rw-r--r--min_total_distance_traveled.py43L
-rw-r--r--min_window_substring.c67L
-rw-r--r--min_window_substring.py53L
-rw-r--r--min_xor_sum_two_arr.c35L
-rw-r--r--min_xor_sum_two_arr.py35L
-rw-r--r--mini_maxi_products_distrib.c45L
-rw-r--r--mini_maxi_products_distrib.py38L
-rw-r--r--minimise_hamming_dist_swap_op.c131L
-rw-r--r--minimise_hamming_dist_swap_op.py65L
-rw-r--r--minimise_xor.c35L
-rw-r--r--minimise_xor.py35L
-rw-r--r--minimize_result_add_parentheses.c78L
-rw-r--r--minimize_result_add_parentheses.py33L
-rw-r--r--minimum_array_end.c26L
-rw-r--r--minimum_array_end.py32L
-rw-r--r--minimum_operations_make_elem_div_three.c24L
-rw-r--r--minimum_operations_make_elem_div_three.py22L
-rw-r--r--minimum_pair_removal_sort_arr2.c225L
-rw-r--r--minimum_pair_removal_sort_arr2.py59L
-rw-r--r--minimum_sideways_jumps.c55L
-rw-r--r--minimum_sideways_jumps.py37L
-rw-r--r--mirror_dist_int.c35L
-rw-r--r--mirror_dist_int.py20L
-rw-r--r--modify_graph_edge_weight.py106L
-rw-r--r--monotonic_array.c38L
-rw-r--r--monotonic_array.py28L
-rw-r--r--montone_increasing_digit.c53L
-rw-r--r--montone_increasing_digit.py36L
-rw-r--r--most_beautiful_item_query.c83L
-rw-r--r--most_beautiful_item_query.py36L
-rw-r--r--most_profit_assigning_work.c69L
-rw-r--r--most_profit_assigning_work.py62L
-rw-r--r--most_profitable_path_tree.c114L
-rw-r--r--most_profitable_path_tree.py58L
-rw-r--r--most_stones_remove.c73L
-rw-r--r--most_stones_remove.py34L
-rw-r--r--move_pieces_obtain_string.c42L
-rw-r--r--move_pieces_obtain_string.py44L
-rw-r--r--my_calendar.c46L
-rw-r--r--my_calendar.py57L
-rw-r--r--my_calendar2.c66L
-rw-r--r--my_calendar2.py44L
-rw-r--r--n_ary_tree_postorder_trav.c45L
-rw-r--r--n_ary_tree_postorder_trav.py67L
-rw-r--r--n_repeat_elem_size_2n_arr.c28L
-rw-r--r--n_repeat_elem_size_2n_arr.py24L
-rw-r--r--neighbouring_bitwise_xor.c27L
-rw-r--r--neighbouring_bitwise_xor.py30L
-rw-r--r--network_recovery_pathways.c145L
-rw-r--r--network_recovery_pathways.py87L
-rw-r--r--new_21_game.c37L
-rw-r--r--new_21_game.py39L
-rw-r--r--next_greater_node_link_list.c45L
-rw-r--r--next_greater_node_link_list.py35L
-rw-r--r--non_decreasing_subseq.c75L
-rw-r--r--non_neg_int_wo_consec_one.c31L
-rw-r--r--non_neg_int_wo_consec_one.py36L
-rw-r--r--non_overlapping_interval.c30L
-rw-r--r--nth_tribonacci_number.c31L
-rw-r--r--nth_tribonacci_number.py29L
-rw-r--r--num_bad_pairs.c41L
-rw-r--r--num_bad_pairs.py27L
-rw-r--r--num_beautiful_subset.c36L
-rw-r--r--num_beautiful_subset.py40L
-rw-r--r--num_closed_islands.c49L
-rw-r--r--num_cut_pizza.c21L
-rw-r--r--num_dice_roll_target_sum.c40L
-rw-r--r--num_dice_roll_target_sum.py37L
-rw-r--r--num_digit_one.c34L
-rw-r--r--num_digit_one.py27L
-rw-r--r--num_enclaves.c58L
-rw-r--r--num_enclaves.py41L
-rw-r--r--num_equivalent_domino_pair.c36L
-rw-r--r--num_equivalent_domino_pair.py27L
-rw-r--r--num_flower_bloom.c55L
-rw-r--r--num_flower_bloom.py21L
-rw-r--r--num_good_leaf_node_pair.c42L
-rw-r--r--num_good_leaf_node_pair.py66L
-rw-r--r--num_good_pair.c31L
-rw-r--r--num_good_pair.py22L
-rw-r--r--num_good_path.c84L
-rw-r--r--num_good_ways_split_str.c33L
-rw-r--r--num_good_ways_split_str.py33L
-rw-r--r--num_increasing_path.c49L
-rw-r--r--num_islands.c35L
-rw-r--r--num_islands.py59L
-rw-r--r--num_laser_beams_bank.c40L
-rw-r--r--num_laser_beams_bank.py32L
-rw-r--r--num_lines_write_string.c48L
-rw-r--r--num_lines_write_string.py98L
-rw-r--r--num_longest_incr_subseq.c40L
-rw-r--r--num_music_playlists.c39L
-rw-r--r--num_op_connect_network.c55L
-rw-r--r--num_paths_max_score.c94L
-rw-r--r--num_paths_max_score.py55L
-rw-r--r--num_people_aware_secret.c32L
-rw-r--r--num_people_aware_secret.py35L
-rw-r--r--num_smallest_unoccupied_char.c96L
-rw-r--r--num_smallest_unoccupied_char.py40L
-rw-r--r--num_smooth_descent_periods_stock.c28L
-rw-r--r--num_smooth_descent_periods_stock.py33L
-rw-r--r--num_squareful_arrays.c68L
-rw-r--r--num_steps_reduct_num.c35L
-rw-r--r--num_steps_reduct_num.py29L
-rw-r--r--num_str_appear_substr_word.c31L
-rw-r--r--num_str_appear_substr_word.py23L
-rw-r--r--num_student_unable_eat.c41L
-rw-r--r--num_student_unable_eat.py30L
-rw-r--r--num_subarr_bounded_max.c43L
-rw-r--r--num_subarr_bounded_max.py35L
-rw-r--r--num_subarr_geq_threshold.c30L
-rw-r--r--num_subarr_geq_threshold.py33L
-rw-r--r--num_submatrices_sum_target.c31L
-rw-r--r--num_submatrices_sum_target.py40L
-rw-r--r--num_subseq_satisfy.c39L
-rw-r--r--num_subseq_satisfy.py36L
-rw-r--r--num_substrings_3_char.c35L
-rw-r--r--num_substrings_3_char.py26L
-rw-r--r--num_substrings_only_1.c23L
-rw-r--r--num_substrings_only_1.py22L
-rw-r--r--num_times_binary_string_aligned.c30L
-rw-r--r--num_times_binary_string_aligned.py31L
-rw-r--r--num_valid_words_puzzle.c61L
-rw-r--r--num_valid_words_puzzle.py61L
-rw-r--r--num_ways_arrive_dest.py69L
-rw-r--r--num_ways_assign_edge_weight1.c95L
-rw-r--r--num_ways_assign_edge_weight1.py29L
-rw-r--r--num_ways_assign_edge_weight2.c137L
-rw-r--r--num_ways_assign_edge_weight2.py73L
-rw-r--r--num_ways_buy_pen.c25L
-rw-r--r--num_ways_buy_pen.py32L
-rw-r--r--num_ways_dict.c32L
-rw-r--r--num_ways_dict.py32L
-rw-r--r--num_ways_divide_corridor.c36L
-rw-r--r--num_ways_divide_corridor.py35L
-rw-r--r--num_ways_paint_nx3_grid.c26L
-rw-r--r--num_ways_paint_nx3_grid.py27L
-rw-r--r--num_ways_remain_place.py34L
-rw-r--r--num_ways_reorder_array.c113L
-rw-r--r--num_ways_split_arr.c30L
-rw-r--r--num_ways_split_arr.py33L
-rw-r--r--num_ways_wear_hats.c62L
-rw-r--r--num_ways_wear_hats.py48L
-rw-r--r--num_with_repeated_digit.c79L
-rw-r--r--num_with_repeated_digit.py34L
-rw-r--r--num_wonderful_substr.c38L
-rw-r--r--num_wonderful_substr.py34L
-rw-r--r--num_zero_filled_subarr.c26L
-rw-r--r--num_zero_filled_subarr.py29L
-rw-r--r--num_zigzag_arrays1.c53L
-rw-r--r--num_zigzag_arrays1.py28L
-rw-r--r--num_zigzag_arrays2.c84L
-rw-r--r--num_zigzag_arrays2.py58L
-rw-r--r--number_1bits.c29L
-rw-r--r--number_1bits.py31L
-rw-r--r--number_atoms.py47L
-rw-r--r--number_complement.c16L
-rw-r--r--number_complement.py26L
-rw-r--r--number_provinces.c48L
-rw-r--r--number_senior_citizen.c30L
-rw-r--r--number_senior_citizen.py31L
-rw-r--r--number_subarr_odd_sum.c24L
-rw-r--r--number_subarr_odd_sum.py28L
-rw-r--r--nums_same_consec_diff.c55L
-rw-r--r--nums_same_consec_diff.py32L
-rw-r--r--ones_and_zeroes.c38L
-rw-r--r--ones_and_zeroes.py43L
-rw-r--r--online_stock_span.c85L
-rw-r--r--online_stock_span.py33L
-rw-r--r--oob_path.c59L
-rw-r--r--oob_path.py46L
-rw-r--r--open_the_lock.c97L
-rw-r--r--open_the_lock.py60L
-rw-r--r--optimal_partition_string.c37L
-rw-r--r--pacific_atlantic_water_flow.c112L
-rw-r--r--pacific_atlantic_water_flow.py62L
-rw-r--r--painting_grid_three_colours.c78L
-rw-r--r--painting_grid_three_colours.py42L
-rw-r--r--painting_walls.py31L
-rw-r--r--pairs_spells_potions.c55L
-rw-r--r--pairs_spells_potions.py39L
-rw-r--r--palindrome_linked_list.c54L
-rw-r--r--palindrome_linked_list.py39L
-rw-r--r--palindrome_partitioning.c56L
-rw-r--r--palindrome_partitioning.py35L
-rw-r--r--palindrome_partitioning4.c45L
-rw-r--r--palindrome_partitioning4.py34L
-rw-r--r--palindromic_paths_bt.c46L
-rw-r--r--palindromic_paths_bt.py45L
-rw-r--r--palindromic_substrings.c35L
-rw-r--r--palindromic_substrings.py36L
-rw-r--r--parallel_courses2.c67L
-rw-r--r--parallel_courses2.py50L
-rw-r--r--parallel_courses3.py53L
-rw-r--r--parse_boolean_expression.c115L
-rw-r--r--parse_boolean_expression.py49L
-rw-r--r--parse_lisp_expression.c264L
-rw-r--r--parse_lisp_expression.py46L
-rw-r--r--partition_arr_max_diff_k.c32L
-rw-r--r--partition_arr_max_diff_k.py34L
-rw-r--r--partition_arr_min_sum_diff.c96L
-rw-r--r--partition_arr_min_sum_diff.py56L
-rw-r--r--partition_arr_pivot.c75L
-rw-r--r--partition_arr_pivot.py34L
-rw-r--r--partition_array_max_sum.c36L
-rw-r--r--partition_array_max_sum.py37L
-rw-r--r--partition_equal_subset_sum.c47L
-rw-r--r--partition_equal_subset_sum.py39L
-rw-r--r--partition_k_equal_subset.c53L
-rw-r--r--partition_k_equal_subset.py46L
-rw-r--r--partition_labels.c42L
-rw-r--r--partition_labels.py34L
-rw-r--r--partition_list.c59L
-rw-r--r--partition_min_num_deci_bin_num.c30L
-rw-r--r--partition_min_num_deci_bin_num.py21L
-rw-r--r--pascals_triangle.c51L
-rw-r--r--pascals_triangle.py21L
-rw-r--r--pascals_triangle2.c46L
-rw-r--r--pascals_triangle2.py22L
-rw-r--r--pass_the_pillow.c23L
-rw-r--r--pass_the_pillow.py27L
-rw-r--r--patching_array.c54L
-rw-r--r--patching_array.py43L
-rw-r--r--path_crossing.c71L
-rw-r--r--path_crossing.py35L
-rw-r--r--path_existence_queries_graph1.c61L
-rw-r--r--path_existence_queries_graph1.py37L
-rw-r--r--path_max_gold.c38L
-rw-r--r--path_max_gold.py46L
-rw-r--r--path_max_probability.c80L
-rw-r--r--path_max_probability.py64L
-rw-r--r--path_min_effort.c53L
-rw-r--r--path_min_effort.py23L
-rw-r--r--path_zigzag_labelled_bt.c52L
-rw-r--r--path_zigzag_labelled_bt.py35L
-rw-r--r--paths_matrix_sum_div_k.c71L
-rw-r--r--paths_matrix_sum_div_k.py45L
-rw-r--r--peak_idx_mountain_arr.c21L
-rw-r--r--perfect_squares.c45L
-rw-r--r--perfect_squares.py43L
-rw-r--r--permutation_in_string.c37L
-rw-r--r--permutation_in_string.py40L
-rw-r--r--permutation_sequence.c42L
-rw-r--r--permutation_sequence.py29L
-rw-r--r--permutations.c58L
-rw-r--r--plates_between_candles.c64L
-rw-r--r--plates_between_candles.py36L
-rw-r--r--plus_one.c49L
-rw-r--r--plus_one.py30L
-rw-r--r--possible_recipes_supplies.c128L
-rw-r--r--possible_recipes_supplies.py66L
-rw-r--r--pow_xn.c31L
-rw-r--r--power_grid_maintenance.c95L
-rw-r--r--power_grid_maintenance.py66L
-rw-r--r--power_of_four.c18L
-rw-r--r--power_of_four.py19L
-rw-r--r--power_of_three.c16L
-rw-r--r--power_of_three.py25L
-rw-r--r--power_of_two.c16L
-rw-r--r--power_of_two.py24L
-rw-r--r--predict_winner.c37L
-rw-r--r--prime_number_set_bits_binary_rep.c21L
-rw-r--r--prime_number_set_bits_binary_rep.py24L
-rw-r--r--prime_subtraction_operation.c46L
-rw-r--r--prime_subtraction_operation.py46L
-rw-r--r--print_binary_tree.c84L
-rw-r--r--print_binary_tree.py47L
-rw-r--r--print_foobar_alternately.c81L
-rw-r--r--print_foobar_alternately.py68L
-rw-r--r--prison_cells_n_days.c56L
-rw-r--r--prison_cells_n_days.py36L
-rw-r--r--process_str_special_op1.c56L
-rw-r--r--process_str_special_op1.py32L
-rw-r--r--process_str_special_op2.c66L
-rw-r--r--process_str_special_op2.py50L
-rw-r--r--product_array_except_self.c37L
-rw-r--r--product_array_except_self.py35L
-rw-r--r--product_last_k_num.c67L
-rw-r--r--product_last_k_num.py47L
-rw-r--r--push_dominoes.c47L
-rw-r--r--push_dominoes.py32L
-rw-r--r--pyramid_transition_matrix.c51L
-rw-r--r--pyramid_transition_matrix.py62L
-rw-r--r--rabbits_in_forest.c36L
-rw-r--r--rabbits_in_forest.py30L
-rw-r--r--race_car.c112L
-rw-r--r--race_car.py38L
-rw-r--r--random_pick_index.c50L
-rw-r--r--random_pick_index.py40L
-rw-r--r--random_pick_weight.c57L
-rw-r--r--random_pick_weight.py36L
-rw-r--r--range_freq_queries.c75L
-rw-r--r--range_freq_queries.py42L
-rw-r--r--range_product_queries_powers.c80L
-rw-r--r--range_product_queries_powers.py41L
-rw-r--r--range_sum_bst.c25L
-rw-r--r--range_sum_bst.py41L
-rw-r--r--range_sum_query_2d.c56L
-rw-r--r--range_sum_query_2d.py62L
-rw-r--r--range_sum_sorted_subarr.c37L
-rw-r--r--range_sum_sorted_subarr.py61L
-rw-r--r--rank_transform_array.c64L
-rw-r--r--rank_transform_array.py28L
-rw-r--r--reach_number.c33L
-rw-r--r--reach_number.py37L
-rw-r--r--readme.md5L
-rw-r--r--rearranging_fruits.c104L
-rw-r--r--rearranging_fruits.py39L
-rw-r--r--reconstruct_itinerary.c202L
-rw-r--r--reconstruct_itinerary.py28L
-rw-r--r--recover_tree_preorder.c55L
-rw-r--r--recover_tree_preorder.py41L
-rw-r--r--redistribute_char_str_eq.c29L
-rw-r--r--redistribute_char_str_eq.py32L
-rw-r--r--reduce_array_size_half.c38L
-rw-r--r--reduce_array_size_half.py31L
-rw-r--r--reducing_dishes.c47L
-rw-r--r--reduction_oper_arr_eq.c36L
-rw-r--r--reduction_oper_arr_eq.py36L
-rw-r--r--redundant_connection.c75L
-rw-r--r--redundant_connection.py52L
-rw-r--r--regions_cut_by_slashes.c56L
-rw-r--r--regions_cut_by_slashes.py47L
-rw-r--r--relative_ranks.c69L
-rw-r--r--relative_ranks.py29L
-rw-r--r--relative_sort_array.c50L
-rw-r--r--relative_sort_array.py22L
-rw-r--r--remove_adjacent_equal_char.c40L
-rw-r--r--remove_adjacent_equal_char.py29L
-rw-r--r--remove_coloured_pc.c36L
-rw-r--r--remove_coloured_pc.py20L
-rw-r--r--remove_covered_intervals.c46L
-rw-r--r--remove_covered_intervals.py24L
-rw-r--r--remove_dupplicate_letters.c42L
-rw-r--r--remove_dupplicate_letters.py29L
-rw-r--r--remove_k_digits.c51L
-rw-r--r--remove_k_digits.py33L
-rw-r--r--remove_max_num_edge_traverse.c76L
-rw-r--r--remove_max_num_edge_traverse.py73L
-rw-r--r--remove_nodes_linked_list.c59L
-rw-r--r--remove_nodes_linked_list.py28L
-rw-r--r--remove_nth_node.c38L
-rw-r--r--remove_star_string.c40L
-rw-r--r--remove_subfolder_filesystem.c55L
-rw-r--r--remove_subfolder_filesystem.py34L
-rw-r--r--remove_substring.c29L
-rw-r--r--remove_substring.py27L
-rw-r--r--remove_zero_sum_ll.c53L
-rw-r--r--remove_zero_sum_ll.py35L
-rw-r--r--reorder_data_log_files.c45L
-rw-r--r--reorder_data_log_files.py56L
-rw-r--r--reorder_list.c54L
-rw-r--r--reorder_list.py42L
-rw-r--r--reorder_route_city_zero.c86L
-rw-r--r--reordered_power_2.c30L
-rw-r--r--reordered_power_2.py27L
-rw-r--r--reorganise_string.c52L
-rw-r--r--repeated_dna_sequences.c98L
-rw-r--r--repeated_dna_sequences.py28L
-rw-r--r--repeated_substring_pattern.c38L
-rw-r--r--replace_digit_char.c23L
-rw-r--r--replace_non_coprime_nums.c56L
-rw-r--r--replace_non_coprime_nums.py36L
-rw-r--r--replace_words.c98L
-rw-r--r--replace_words.py57L
-rw-r--r--res_str_adj_remove.c42L
-rw-r--r--res_str_adj_remove.py38L
-rw-r--r--reschedule_meetings_max_free1.c46L
-rw-r--r--reschedule_meetings_max_free1.py49L
-rw-r--r--reschedule_meetings_max_free2.c50L
-rw-r--r--reschedule_meetings_max_free2.py46L
-rw-r--r--restore_array.c41L
-rw-r--r--restore_array_adj_pair.c139L
-rw-r--r--restore_array_adj_pair.py42L
-rw-r--r--restore_ip_addr.c70L
-rw-r--r--restore_ip_addr.py51L
-rw-r--r--reveal_cards_incr_order.c72L
-rw-r--r--reveal_cards_incr_order.py33L
-rw-r--r--reverse_bits.c35L
-rw-r--r--reverse_bits.py24L
-rw-r--r--reverse_integer.c63L
-rw-r--r--reverse_linked_list.c28L
-rw-r--r--reverse_linked_list.py35L
-rw-r--r--reverse_odd_levels_bt.c41L
-rw-r--r--reverse_odd_levels_bt.py43L
-rw-r--r--reverse_pairs.c52L
-rw-r--r--reverse_pairs.py49L
-rw-r--r--reverse_prefix_word.c33L
-rw-r--r--reverse_prefix_word.py28L
-rw-r--r--reverse_string.c25L
-rw-r--r--reverse_string.py26L
-rw-r--r--reverse_subarr_max_arr_val.c29L
-rw-r--r--reverse_subarr_max_arr_val.py30L
-rw-r--r--reverse_substr_parentheses.c69L
-rw-r--r--reverse_substr_parentheses.py31L
-rw-r--r--reverse_word_string.c35L
-rw-r--r--reverse_word_string.py17L
-rw-r--r--rle_iterator.c74L
-rw-r--r--rle_iterator.py41L
-rw-r--r--robot_collisions.c110L
-rw-r--r--robot_collisions.py64L
-rw-r--r--robot_return_origin.c36L
-rw-r--r--robot_return_origin.py23L
-rw-r--r--rotate_array.c40L
-rw-r--r--rotate_array.py40L
-rw-r--r--rotate_function.c35L
-rw-r--r--rotate_function.py29L
-rw-r--r--rotate_image.c54L
-rw-r--r--rotate_image.py35L
-rw-r--r--rotate_list.c37L
-rw-r--r--rotate_list.py36L
-rw-r--r--rotate_string.c63L
-rw-r--r--rotate_string.py24L
-rw-r--r--rotated_digits.c41L
-rw-r--r--rotated_digits.py34L
-rw-r--r--rotating_the_box.c76L
-rw-r--r--rotating_the_box.py44L
-rw-r--r--rotting_oranges.c87L
-rw-r--r--rotting_oranges.py51L
-rw-r--r--row_max_ones.c49L
-rw-r--r--row_max_ones.py36L
-rw-r--r--russian_doll_envelopes.c63L
-rw-r--r--russian_doll_envelopes.py33L
-rw-r--r--same_tree.c23L
-rw-r--r--same_tree.py31L
-rw-r--r--score_after_flipping_matrix.c49L
-rw-r--r--score_after_flipping_matrix.py29L
-rw-r--r--score_of_string.c26L
-rw-r--r--score_of_string.py22L
-rw-r--r--scramble_string.c45L
-rw-r--r--search_2d_matrix.c35L
-rw-r--r--search_insert_pos.c28L
-rw-r--r--search_rotated_array.c52L
-rw-r--r--search_rotated_array.py44L
-rw-r--r--search_rotated_array2.c56L
-rw-r--r--seat_reservation_manager.c66L
-rw-r--r--seat_reservation_manager.py25L
-rw-r--r--second_min_time_dest.c186L
-rw-r--r--second_min_time_dest.py56L
-rw-r--r--self_dividing_numbers.c53L
-rw-r--r--self_dividing_numbers.py30L
-rw-r--r--sell_diminishing_value_colour_balls.c54L
-rw-r--r--sell_diminishing_value_colour_balls.py43L
-rw-r--r--sender_largest_word_cnt.c145L
-rw-r--r--sender_largest_word_cnt.py46L
-rw-r--r--sentence_similartiy3.c62L
-rw-r--r--sentence_similartiy3.py42L
-rw-r--r--separate_black_white_balls.c27L
-rw-r--r--separate_black_white_balls.py30L
-rw-r--r--separate_digits_in_array.c58L
-rw-r--r--separate_digits_in_array.py26L
-rw-r--r--separate_sqaures1.c51L
-rw-r--r--separate_sqaures1.py44L
-rw-r--r--separate_sqaures2.c165L
-rw-r--r--separate_sqaures2.py67L
-rw-r--r--sequential_digits.c43L
-rw-r--r--sequential_digits.py32L
-rw-r--r--serialise_deserialise_bt.c171L
-rw-r--r--serialise_deserialise_bt.py70L
-rw-r--r--set_intersection_size_min_two.c57L
-rw-r--r--set_intersection_size_min_two.py36L
-rw-r--r--set_matrix_zeroes.c45L
-rw-r--r--set_matrix_zeroes.py34L
-rw-r--r--set_mismatch.c39L
-rw-r--r--set_mismatch.py40L
-rw-r--r--shifting_letters2.c49L
-rw-r--r--shifting_letters2.py40L
-rw-r--r--shopping_offers.c125L
-rw-r--r--shopping_offers.py49L
-rw-r--r--shortest_bridge.c105L
-rw-r--r--shortest_common_subseq.c86L
-rw-r--r--shortest_common_subseq.py45L
-rw-r--r--shortest_dist_road_addition1.py55L
-rw-r--r--shortest_dist_target_str.c36L
-rw-r--r--shortest_dist_target_str.py40L
-rw-r--r--shortest_palindrome.c51L
-rw-r--r--shortest_palindrome.py25L
-rw-r--r--shortest_path_binary_matrix.c106L
-rw-r--r--shortest_path_binary_matrix.py49L
-rw-r--r--shortest_path_vis_nodes.py43L
-rw-r--r--shortest_subarr_or_k2.c35L
-rw-r--r--shortest_subarr_or_k2.py40L
-rw-r--r--shortest_subarr_remove_sort.c37L
-rw-r--r--shortest_subarr_remove_sort.py39L
-rw-r--r--shortest_subarr_sum_k.c91L
-rw-r--r--shortest_subarr_sum_k.py34L
-rw-r--r--shuffle_an_array.c69L
-rw-r--r--shuffle_an_array.py22L
-rw-r--r--shuffle_the_array.c31L
-rw-r--r--similar_string_group.c59L
-rw-r--r--simple_bank_system.c64L
-rw-r--r--simple_bank_system.py58L
-rw-r--r--simplify_path.c63L
-rw-r--r--single_element_sorted_arr.c51L
-rw-r--r--single_number2.c30L
-rw-r--r--single_number3.c42L
-rw-r--r--single_number3.py28L
-rw-r--r--single_product_array.c31L
-rw-r--r--sliding_puzzle.py46L
-rw-r--r--sliding_window_max.c87L
-rw-r--r--smallest_int_div_k.c22L
-rw-r--r--smallest_int_div_k.py30L
-rw-r--r--smallest_missing_non_neg_int.c30L
-rw-r--r--smallest_missing_non_neg_int.py33L
-rw-r--r--smallest_num_set.c100L
-rw-r--r--smallest_num_set_bits.c15L
-rw-r--r--smallest_num_set_bits.py22L
-rw-r--r--smallest_range_convering_elem_k.c67L
-rw-r--r--smallest_range_convering_elem_k.py37L
-rw-r--r--smallest_string_leaf.c86L
-rw-r--r--smallest_string_leaf.py43L
-rw-r--r--smallest_subarr_max_or.c41L
-rw-r--r--smallest_subarr_max_or.py35L
-rw-r--r--smallest_subtree_deep_node.c53L
-rw-r--r--smallest_subtree_deep_node.py42L
-rw-r--r--snakes_ladders.c83L
-rw-r--r--snakes_ladders.py65L
-rw-r--r--snapshot_array.c77L
-rw-r--r--sort_arr_incr_freq.c42L
-rw-r--r--sort_arr_incr_freq.py25L
-rw-r--r--sort_array.c35L
-rw-r--r--sort_array_parity.c34L
-rw-r--r--sort_array_parity.py16L
-rw-r--r--sort_char_freq.c38L
-rw-r--r--sort_char_freq.py27L
-rw-r--r--sort_colours.c42L
-rw-r--r--sort_colours.py39L
-rw-r--r--sort_int_1bits.c43L
-rw-r--r--sort_int_1bits.py28L
-rw-r--r--sort_items_dependencies.c134L
-rw-r--r--sort_jumbled_num.c60L
-rw-r--r--sort_jumbled_num.py39L
-rw-r--r--sort_matrix_by_diagonals.c93L
-rw-r--r--sort_matrix_by_diagonals.py43L
-rw-r--r--sort_people.c70L
-rw-r--r--sort_people.py29L
-rw-r--r--sort_vowel_string.c55L
-rw-r--r--sort_vowel_string.py35L
-rw-r--r--soup_servings.c44L
-rw-r--r--soup_servings.py48L
-rw-r--r--special_array.c23L
-rw-r--r--special_array.py27L
-rw-r--r--special_array2.c48L
-rw-r--r--special_array2.py37L
-rw-r--r--special_array_x_element_geqx.c34L
-rw-r--r--special_array_x_element_geqx.py30L
-rw-r--r--special_binary_string.c67L
-rw-r--r--special_binary_string.py31L
-rw-r--r--special_position_binary_matrix.c45L
-rw-r--r--special_position_binary_matrix.py32L
-rw-r--r--spiral_matrix3.c66L
-rw-r--r--spiral_matrix3.py38L
-rw-r--r--spiral_matrix4.c66L
-rw-r--r--spiral_matrix4.py49L
-rw-r--r--split_arr_same_avg.c38L
-rw-r--r--split_arr_same_avg.py38L
-rw-r--r--split_array.c35L
-rw-r--r--split_array_largest_sum.c39L
-rw-r--r--split_array_largest_sum.py48L
-rw-r--r--split_linked_list.c58L
-rw-r--r--split_linked_list.py40L
-rw-r--r--split_string_max_unique_substr.c70L
-rw-r--r--split_string_max_unique_substr.py39L
-rw-r--r--squares_sorted_array.c32L
-rw-r--r--squares_sorted_array.py30L
-rw-r--r--stamping_the_grid.c90L
-rw-r--r--stamping_the_grid.py66L
-rw-r--r--step_by_step_dir_bt.c73L
-rw-r--r--step_by_step_dir_bt.py85L
-rw-r--r--steps_arr_increasing.c47L
-rw-r--r--stickers_spell_word.c54L
-rw-r--r--stickers_spell_word.py55L
-rw-r--r--stone_game.c45L
-rw-r--r--stone_game.py29L
-rw-r--r--stone_game2.c43L
-rw-r--r--stone_game2.py42L
-rw-r--r--stone_game3.c46L
-rw-r--r--stone_game7.c53L
-rw-r--r--strange_printer.c44L
-rw-r--r--strange_printer.py35L
-rw-r--r--string_compression.c65L
-rw-r--r--string_compression2.c48L
-rw-r--r--string_compression2.py56L
-rw-r--r--string_compression3.c36L
-rw-r--r--string_compression3.py34L
-rw-r--r--string_matching_array.c51L
-rw-r--r--string_matching_array.py29L
-rw-r--r--string_without_3a3b.c62L
-rw-r--r--student_attendance_record2.c33L
-rw-r--r--student_attendance_record2.py41L
-rw-r--r--subarr_distinct_elem_sum.c81L
-rw-r--r--subarr_distinct_elem_sum.py68L
-rw-r--r--subarr_fixed_bound.c34L
-rw-r--r--subarr_product_less_k.c46L
-rw-r--r--subarr_product_less_k.py30L
-rw-r--r--subarr_sum_divisible_k.c48L
-rw-r--r--subarr_sum_eq_k.c30L
-rw-r--r--subarr_sum_eq_k.py29L
-rw-r--r--subarr_sums_div_k.c30L
-rw-r--r--subarr_sums_div_k.py29L
-rw-r--r--subdomain_visit_count.c89L
-rw-r--r--subdomain_visit_count.py45L
-rw-r--r--subsets.c53L
-rw-r--r--subsets.py30L
-rw-r--r--subsets2.c74L
-rw-r--r--subsets2.py28L
-rw-r--r--substr_largest_variance.c45L
-rw-r--r--substring.py20L
-rw-r--r--substring_xor_queries.c139L
-rw-r--r--substring_xor_queries.py43L
-rw-r--r--sudoku_solver.c69L
-rw-r--r--sudoku_solver.py66L
-rw-r--r--sum_abs_diff_arr.c37L
-rw-r--r--sum_digit_str_convert.c51L
-rw-r--r--sum_digit_str_convert.py30L
-rw-r--r--sum_dist_tree.c64L
-rw-r--r--sum_dist_tree.py50L
-rw-r--r--sum_k_mirror_num.c60L
-rw-r--r--sum_k_mirror_num.py277L
-rw-r--r--sum_left_leaves.c50L
-rw-r--r--sum_left_leaves.py34L
-rw-r--r--sum_of_distances.c76L
-rw-r--r--sum_of_distances.py32L
-rw-r--r--sum_prefix_score_string.c67L
-rw-r--r--sum_prefix_score_string.py46L
-rw-r--r--sum_root_leaf_binary_num.c35L
-rw-r--r--sum_root_leaf_binary_num.py34L
-rw-r--r--sum_root_leaf_num.c42L
-rw-r--r--sum_root_leaf_num.py67L
-rw-r--r--sum_square_numbers.c22L
-rw-r--r--sum_square_numbers.py26L
-rw-r--r--sum_subarr_mins.c41L
-rw-r--r--sum_subarr_mins.py28L
-rw-r--r--sum_subset_xor.c23L
-rw-r--r--sum_subset_xor.py26L
-rw-r--r--sum_two_integers.c22L
-rw-r--r--sum_two_integers.py23L
-rw-r--r--summary_ranges.c106L
-rw-r--r--super_pow.c40L
-rw-r--r--super_pow.py28L
-rw-r--r--super_ugly_num.c31L
-rw-r--r--super_ugly_num.py28L
-rw-r--r--swap_adjacent_lr_string.c42L
-rw-r--r--swap_adjacent_lr_string.py38L
-rw-r--r--swap_node_linked_list.c87L
-rw-r--r--swap_nodes_pairs.c21L
-rw-r--r--swim_rising_water.c127L
-rw-r--r--swim_rising_water.py55L
-rw-r--r--symmetric_tree.c28L
-rw-r--r--take_gifts_richest_pile.c33L
-rw-r--r--take_gifts_richest_pile.py35L
-rw-r--r--take_k_char_left_right.c41L
-rw-r--r--take_k_char_left_right.py36L
-rw-r--r--taking_max_energy_mystic_dungeon.c35L
-rw-r--r--taking_max_energy_mystic_dungeon.py36L
-rw-r--r--tallest_billboard.c41L
-rw-r--r--target_sum.c29L
-rw-r--r--target_sum.py34L
-rw-r--r--task_scheduler.c54L
-rw-r--r--task_scheduler.py34L
-rw-r--r--text_justification.c124L
-rw-r--r--third_max_num.c34L
-rw-r--r--third_max_num.py32L
-rw-r--r--three_consecutive_odds.c20L
-rw-r--r--three_consecutive_odds.py29L
-rw-r--r--top_k_freq_element.c57L
-rw-r--r--total_appeal_string.c28L
-rw-r--r--total_appeal_string.py28L
-rw-r--r--total_char_str_transform1.c40L
-rw-r--r--total_char_str_transform1.py31L
-rw-r--r--total_char_str_transform2.c79L
-rw-r--r--total_char_str_transform2.py122L
-rw-r--r--total_hamming_distance.c25L
-rw-r--r--total_hamming_distance.py27L
-rw-r--r--total_waviness_nums_range1.c76L
-rw-r--r--total_waviness_nums_range1.py34L
-rw-r--r--total_waviness_nums_range2.c83L
-rw-r--r--total_waviness_nums_range2.py73L
-rw-r--r--transform_to_chessboard.c56L
-rw-r--r--transform_to_chessboard.py50L
-rw-r--r--transformed_array.c46L
-rw-r--r--transformed_array.py31L
-rw-r--r--transpose_matrix.c20L
-rw-r--r--transpose_matrix.py28L
-rw-r--r--trapping_rain_water.c29L
-rw-r--r--trapping_rain_water.py32L
-rw-r--r--trapping_rain_water2.c99L
-rw-r--r--trapping_rain_water2.py56L
-rw-r--r--triangle.c38L
-rw-r--r--triangle.py31L
-rw-r--r--trie_prefix.c65L
-rw-r--r--trionic_array1.c36L
-rw-r--r--trionic_array1.py36L
-rw-r--r--trionic_array2.c45L
-rw-r--r--trionic_array2.py46L
-rw-r--r--triples_bitwise_and_zero.c30L
-rw-r--r--triples_bitwise_and_zero.py28L
-rw-r--r--tuple_same_product.c26L
-rw-r--r--tuple_same_product.py28L
-rw-r--r--two_best_nonoverlap_event.c66L
-rw-r--r--two_best_nonoverlap_event.py39L
-rw-r--r--two_furthest_houses_diff_colour.c34L
-rw-r--r--two_furthest_houses_diff_colour.py27L
-rw-r--r--two_sneaky_nums.c48L
-rw-r--r--two_sneaky_nums.py43L
-rw-r--r--two_sum.c42L
-rw-r--r--type_of_triangle.c36L
-rw-r--r--type_of_triangle.py29L
-rw-r--r--ugly_number2.c31L
-rw-r--r--ugly_number2.py28L
-rw-r--r--uncommon_words_two_sent.c73L
-rw-r--r--uncommon_words_two_sent.py27L
-rw-r--r--uncrossed_lines.c59L
-rw-r--r--unique_bst.c29L
-rw-r--r--unique_bst2.c63L
-rw-r--r--unique_len_3_palindrome.c46L
-rw-r--r--unique_len_3_palindrome.py29L
-rw-r--r--unique_num_occurrences.c47L
-rw-r--r--unique_num_occurrences.py36L
-rw-r--r--unique_paths2.c45L
-rw-r--r--using_robot_print_lex_small_str.c67L
-rw-r--r--using_robot_print_lex_small_str.py35L
-rw-r--r--valid_anagram.c33L
-rw-r--r--valid_anagram.py26L
-rw-r--r--valid_arrangement_pairs.py44L
-rw-r--r--valid_palindrome.c35L
-rw-r--r--valid_palindrome.py35L
-rw-r--r--valid_palindrome2.c31L
-rw-r--r--valid_palindrome2.py28L
-rw-r--r--valid_parentheses.c47L
-rw-r--r--valid_parentheses_string.c42L
-rw-r--r--valid_parentheses_string.py32L
-rw-r--r--valid_square.c46L
-rw-r--r--valid_square.py41L
-rw-r--r--valid_stack_seq.c42L
-rw-r--r--valid_sudoku.c55L
-rw-r--r--valid_sudoku.py59L
-rw-r--r--valid_triangle_number.c31L
-rw-r--r--valid_triangle_number.py31L
-rw-r--r--valid_word.c38L
-rw-r--r--valid_word.py40L
-rw-r--r--validate_bst_node.c77L
-rw-r--r--validate_bst_node.py62L
-rw-r--r--verify_alien_dict.c34L
-rw-r--r--vertical_order_bst.c103L
-rw-r--r--vertical_order_bst.py56L
-rw-r--r--video_stitching.c80L
-rw-r--r--video_stitching.py62L
-rw-r--r--vowel_spellchecker.c168L
-rw-r--r--vowel_spellchecker.py58L
-rw-r--r--vowels_game_string.c28L
-rw-r--r--vowels_game_string.py29L
-rw-r--r--vowels_substrings.c28L
-rw-r--r--vowels_substrings.py26L
-rw-r--r--walking_robot_simulation.c112L
-rw-r--r--walking_robot_simulation.py50L
-rw-r--r--walking_robot_simulation2.c108L
-rw-r--r--walking_robot_simulation2.py76L
-rw-r--r--water_bottles.c19L
-rw-r--r--water_bottles.py25L
-rw-r--r--water_bottles2.c27L
-rw-r--r--water_bottles2.py49L
-rw-r--r--ways_express_int_sum_pow.c43L
-rw-r--r--ways_express_int_sum_pow.py37L
-rw-r--r--ways_make_fair_array.c35L
-rw-r--r--ways_make_fair_array.py32L
-rw-r--r--ways_split_arr_subarr.c29L
-rw-r--r--ways_split_arr_subarr.py33L
-rw-r--r--weighted_word_mapping.c50L
-rw-r--r--weighted_word_mapping.py126L
-rw-r--r--widest_vert_two_point.c36L
-rw-r--r--widest_vert_two_point.py32L
-rw-r--r--word_break.c68L
-rw-r--r--word_break2.c64L
-rw-r--r--word_break2.py49L
-rw-r--r--word_search.c34L
-rw-r--r--word_search.py68L
-rw-r--r--word_subsets.c57L
-rw-r--r--word_subsets.py39L
-rw-r--r--words_within_edits_dict.c61L
-rw-r--r--words_within_edits_dict.py39L
-rw-r--r--xor_op_in_arr.c34L
-rw-r--r--xor_op_in_arr.py27L
-rw-r--r--xor_queries_subarray.c42L
-rw-r--r--xor_queries_subarray.py26L
-rw-r--r--xor_range_mult_queries1.c46L
-rw-r--r--xor_range_mult_queries1.py27L
-rw-r--r--xor_range_mult_queries2.c105L
-rw-r--r--xor_range_mult_queries2.py47L
-rw-r--r--zero_array_transformation1.c46L
-rw-r--r--zero_array_transformation1.py36L
-rw-r--r--zero_array_transformation2.c72L
-rw-r--r--zero_array_transformation2.py41L
-rw-r--r--zero_array_transformation3.c128L
-rw-r--r--zero_array_transformation3.py41L
-rw-r--r--zigzag_conversion.c65L