├── .gitignore ├── Arrays ├── container_with_most_water.py ├── count_triplets_with_sum_k.py ├── find_busiest_interval.py ├── find_el_smaller_left_bigger_right.py ├── find_el_where_k_greater_or_equal.py ├── find_element_range_sorted_array.py ├── find_first_missing_positive.py ├── find_missing_number_in_second_array.py ├── find_one_missing_number.py ├── find_peak_element.py ├── find_two_missing_numbers.py ├── find_unpaired.py ├── flatten_deep_list.py ├── jump_game.py ├── k_closest_points.py ├── kth_smallest.py ├── longest_increasing_subarray.py ├── majority_element.py ├── max_profit.py ├── merge_intervals.py ├── min_swaps.py ├── product_of_array_except_self.py ├── random_sample.py ├── reverse_array.py ├── reverse_ascending_sublists.py ├── rotate_array.py ├── search_rotated_sorted_array.py ├── secret_santa.py ├── shuffle_array.py ├── sort_rgb_array.py ├── subarray_with_sum_k.py ├── top_k_frequent_elements.py └── trapped_watter.py ├── Dynamic Programming ├── climbing_staircase.py ├── coin_change.py ├── count_ip_addresses.py ├── create_palindrom.py ├── interleaving_strings.py ├── jump_game_2.py ├── longest_common_subsequence.py ├── longest_common_substring.py ├── longest_increasing_subsequence.py ├── max_profit_k_transactions.py ├── max_subarray_sum.py ├── min_cost_coloring.py ├── number_of_decodings.py ├── number_of_smses.py ├── ordered_digits.py ├── split_coins.py ├── sum_non-adjecent.py ├── transform_number_ascending_digits.py └── word_break.py ├── Hashing DS ├── anagram_indices.py ├── count_positives.py ├── find_duplicates.py ├── find_pairs_with_sum_k.py ├── group_anagrams.py ├── longest_consecutive_sequence.py ├── longest_substring_with_k_distinct_characters.py ├── longest_substring_without_repeating_characters.py └── perfect_rectangle.py ├── LICENSE ├── Linked Lists ├── add_two_numbers.py ├── intersecting_ll.py ├── is_ascending_ll.py ├── ll_helpers.py ├── max_difference_subll.py ├── merge_k_sorted_ll.py ├── merge_sorted_ll.py ├── odd_even_ll.py ├── remove_duplicates_sorted_ll.py ├── remove_element_ll.py ├── remove_nth_ll.py └── reverse_ll.py ├── Math ├── calculate_area_of_polygon.py ├── check_if_point_inside_polygon.py ├── check_if_two_rectangles_overlap.py ├── count_divisibles_in_range.py ├── estimate_pi.py ├── factorial_trailing_zeroes.py ├── number_of_digit_one.py ├── odd_sum.py ├── prime_factors.py ├── smallest_multiple.py ├── sum_of_multiples.py ├── total_divisible_numbers.py └── unique_paths.py ├── Other ├── basic_calculator.py ├── count_consecutive_sums.py ├── fancy_sequence.py ├── find_min_path.py ├── generate_parentheses.py ├── jumping_numbers.py ├── letter_combinations.py ├── nth_fibonacci_number.py ├── number_of_islands.py ├── palindrome_integer.py ├── permutations.py ├── postfix_evaluate.py ├── power.py ├── power_set.py ├── queens_problem.py ├── reverse_all_lists.py ├── reverse_integer.py ├── river_sizes.py ├── running_median.py ├── safe_squares_rooks.py ├── search_2d_matrix.py ├── set_matrix_zeroes.py ├── sliding_window_maximum.py ├── spiral_matrix.py └── valid_parentheses.py ├── README.md ├── Strings ├── encoding_string.py ├── longest_common_prefix.py ├── longest_palindromic_substring.py ├── reverse_string.py ├── reverse_vowels.py ├── reverse_words_in_sentence.py ├── strong_password_checker.py ├── swap_first_and_last_word.py └── zigzag_conversion.py └── Trees ├── diameter_of_binary_tree.py ├── find_kth_smallest_node_bst.py ├── find_max_branch_sum.py ├── find_max_path_sum.py ├── find_second_largest_node.py ├── find_second_largest_node_bst.py ├── populating_next_pointers_tree.py ├── same_tree.py ├── tree_helpers.py ├── unival_trees.py ├── valid_bst.py └── zigzag_level_order_traversal.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/.gitignore -------------------------------------------------------------------------------- /Arrays/container_with_most_water.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/container_with_most_water.py -------------------------------------------------------------------------------- /Arrays/count_triplets_with_sum_k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/count_triplets_with_sum_k.py -------------------------------------------------------------------------------- /Arrays/find_busiest_interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_busiest_interval.py -------------------------------------------------------------------------------- /Arrays/find_el_smaller_left_bigger_right.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_el_smaller_left_bigger_right.py -------------------------------------------------------------------------------- /Arrays/find_el_where_k_greater_or_equal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_el_where_k_greater_or_equal.py -------------------------------------------------------------------------------- /Arrays/find_element_range_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_element_range_sorted_array.py -------------------------------------------------------------------------------- /Arrays/find_first_missing_positive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_first_missing_positive.py -------------------------------------------------------------------------------- /Arrays/find_missing_number_in_second_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_missing_number_in_second_array.py -------------------------------------------------------------------------------- /Arrays/find_one_missing_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_one_missing_number.py -------------------------------------------------------------------------------- /Arrays/find_peak_element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_peak_element.py -------------------------------------------------------------------------------- /Arrays/find_two_missing_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_two_missing_numbers.py -------------------------------------------------------------------------------- /Arrays/find_unpaired.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/find_unpaired.py -------------------------------------------------------------------------------- /Arrays/flatten_deep_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/flatten_deep_list.py -------------------------------------------------------------------------------- /Arrays/jump_game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/jump_game.py -------------------------------------------------------------------------------- /Arrays/k_closest_points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/k_closest_points.py -------------------------------------------------------------------------------- /Arrays/kth_smallest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/kth_smallest.py -------------------------------------------------------------------------------- /Arrays/longest_increasing_subarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/longest_increasing_subarray.py -------------------------------------------------------------------------------- /Arrays/majority_element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/majority_element.py -------------------------------------------------------------------------------- /Arrays/max_profit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/max_profit.py -------------------------------------------------------------------------------- /Arrays/merge_intervals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/merge_intervals.py -------------------------------------------------------------------------------- /Arrays/min_swaps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/min_swaps.py -------------------------------------------------------------------------------- /Arrays/product_of_array_except_self.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/product_of_array_except_self.py -------------------------------------------------------------------------------- /Arrays/random_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/random_sample.py -------------------------------------------------------------------------------- /Arrays/reverse_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/reverse_array.py -------------------------------------------------------------------------------- /Arrays/reverse_ascending_sublists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/reverse_ascending_sublists.py -------------------------------------------------------------------------------- /Arrays/rotate_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/rotate_array.py -------------------------------------------------------------------------------- /Arrays/search_rotated_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/search_rotated_sorted_array.py -------------------------------------------------------------------------------- /Arrays/secret_santa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/secret_santa.py -------------------------------------------------------------------------------- /Arrays/shuffle_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/shuffle_array.py -------------------------------------------------------------------------------- /Arrays/sort_rgb_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/sort_rgb_array.py -------------------------------------------------------------------------------- /Arrays/subarray_with_sum_k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/subarray_with_sum_k.py -------------------------------------------------------------------------------- /Arrays/top_k_frequent_elements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/top_k_frequent_elements.py -------------------------------------------------------------------------------- /Arrays/trapped_watter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Arrays/trapped_watter.py -------------------------------------------------------------------------------- /Dynamic Programming/climbing_staircase.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/climbing_staircase.py -------------------------------------------------------------------------------- /Dynamic Programming/coin_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/coin_change.py -------------------------------------------------------------------------------- /Dynamic Programming/count_ip_addresses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/count_ip_addresses.py -------------------------------------------------------------------------------- /Dynamic Programming/create_palindrom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/create_palindrom.py -------------------------------------------------------------------------------- /Dynamic Programming/interleaving_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/interleaving_strings.py -------------------------------------------------------------------------------- /Dynamic Programming/jump_game_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/jump_game_2.py -------------------------------------------------------------------------------- /Dynamic Programming/longest_common_subsequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/longest_common_subsequence.py -------------------------------------------------------------------------------- /Dynamic Programming/longest_common_substring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/longest_common_substring.py -------------------------------------------------------------------------------- /Dynamic Programming/longest_increasing_subsequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/longest_increasing_subsequence.py -------------------------------------------------------------------------------- /Dynamic Programming/max_profit_k_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/max_profit_k_transactions.py -------------------------------------------------------------------------------- /Dynamic Programming/max_subarray_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/max_subarray_sum.py -------------------------------------------------------------------------------- /Dynamic Programming/min_cost_coloring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/min_cost_coloring.py -------------------------------------------------------------------------------- /Dynamic Programming/number_of_decodings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/number_of_decodings.py -------------------------------------------------------------------------------- /Dynamic Programming/number_of_smses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/number_of_smses.py -------------------------------------------------------------------------------- /Dynamic Programming/ordered_digits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/ordered_digits.py -------------------------------------------------------------------------------- /Dynamic Programming/split_coins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/split_coins.py -------------------------------------------------------------------------------- /Dynamic Programming/sum_non-adjecent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/sum_non-adjecent.py -------------------------------------------------------------------------------- /Dynamic Programming/transform_number_ascending_digits.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/transform_number_ascending_digits.py -------------------------------------------------------------------------------- /Dynamic Programming/word_break.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Dynamic Programming/word_break.py -------------------------------------------------------------------------------- /Hashing DS/anagram_indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/anagram_indices.py -------------------------------------------------------------------------------- /Hashing DS/count_positives.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/count_positives.py -------------------------------------------------------------------------------- /Hashing DS/find_duplicates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/find_duplicates.py -------------------------------------------------------------------------------- /Hashing DS/find_pairs_with_sum_k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/find_pairs_with_sum_k.py -------------------------------------------------------------------------------- /Hashing DS/group_anagrams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/group_anagrams.py -------------------------------------------------------------------------------- /Hashing DS/longest_consecutive_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/longest_consecutive_sequence.py -------------------------------------------------------------------------------- /Hashing DS/longest_substring_with_k_distinct_characters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/longest_substring_with_k_distinct_characters.py -------------------------------------------------------------------------------- /Hashing DS/longest_substring_without_repeating_characters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/longest_substring_without_repeating_characters.py -------------------------------------------------------------------------------- /Hashing DS/perfect_rectangle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Hashing DS/perfect_rectangle.py -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/LICENSE -------------------------------------------------------------------------------- /Linked Lists/add_two_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/add_two_numbers.py -------------------------------------------------------------------------------- /Linked Lists/intersecting_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/intersecting_ll.py -------------------------------------------------------------------------------- /Linked Lists/is_ascending_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/is_ascending_ll.py -------------------------------------------------------------------------------- /Linked Lists/ll_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/ll_helpers.py -------------------------------------------------------------------------------- /Linked Lists/max_difference_subll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/max_difference_subll.py -------------------------------------------------------------------------------- /Linked Lists/merge_k_sorted_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/merge_k_sorted_ll.py -------------------------------------------------------------------------------- /Linked Lists/merge_sorted_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/merge_sorted_ll.py -------------------------------------------------------------------------------- /Linked Lists/odd_even_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/odd_even_ll.py -------------------------------------------------------------------------------- /Linked Lists/remove_duplicates_sorted_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/remove_duplicates_sorted_ll.py -------------------------------------------------------------------------------- /Linked Lists/remove_element_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/remove_element_ll.py -------------------------------------------------------------------------------- /Linked Lists/remove_nth_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/remove_nth_ll.py -------------------------------------------------------------------------------- /Linked Lists/reverse_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Linked Lists/reverse_ll.py -------------------------------------------------------------------------------- /Math/calculate_area_of_polygon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/calculate_area_of_polygon.py -------------------------------------------------------------------------------- /Math/check_if_point_inside_polygon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/check_if_point_inside_polygon.py -------------------------------------------------------------------------------- /Math/check_if_two_rectangles_overlap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/check_if_two_rectangles_overlap.py -------------------------------------------------------------------------------- /Math/count_divisibles_in_range.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/count_divisibles_in_range.py -------------------------------------------------------------------------------- /Math/estimate_pi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/estimate_pi.py -------------------------------------------------------------------------------- /Math/factorial_trailing_zeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/factorial_trailing_zeroes.py -------------------------------------------------------------------------------- /Math/number_of_digit_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/number_of_digit_one.py -------------------------------------------------------------------------------- /Math/odd_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/odd_sum.py -------------------------------------------------------------------------------- /Math/prime_factors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/prime_factors.py -------------------------------------------------------------------------------- /Math/smallest_multiple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/smallest_multiple.py -------------------------------------------------------------------------------- /Math/sum_of_multiples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/sum_of_multiples.py -------------------------------------------------------------------------------- /Math/total_divisible_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/total_divisible_numbers.py -------------------------------------------------------------------------------- /Math/unique_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Math/unique_paths.py -------------------------------------------------------------------------------- /Other/basic_calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/basic_calculator.py -------------------------------------------------------------------------------- /Other/count_consecutive_sums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/count_consecutive_sums.py -------------------------------------------------------------------------------- /Other/fancy_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/fancy_sequence.py -------------------------------------------------------------------------------- /Other/find_min_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/find_min_path.py -------------------------------------------------------------------------------- /Other/generate_parentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/generate_parentheses.py -------------------------------------------------------------------------------- /Other/jumping_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/jumping_numbers.py -------------------------------------------------------------------------------- /Other/letter_combinations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/letter_combinations.py -------------------------------------------------------------------------------- /Other/nth_fibonacci_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/nth_fibonacci_number.py -------------------------------------------------------------------------------- /Other/number_of_islands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/number_of_islands.py -------------------------------------------------------------------------------- /Other/palindrome_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/palindrome_integer.py -------------------------------------------------------------------------------- /Other/permutations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/permutations.py -------------------------------------------------------------------------------- /Other/postfix_evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/postfix_evaluate.py -------------------------------------------------------------------------------- /Other/power.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/power.py -------------------------------------------------------------------------------- /Other/power_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/power_set.py -------------------------------------------------------------------------------- /Other/queens_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/queens_problem.py -------------------------------------------------------------------------------- /Other/reverse_all_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/reverse_all_lists.py -------------------------------------------------------------------------------- /Other/reverse_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/reverse_integer.py -------------------------------------------------------------------------------- /Other/river_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/river_sizes.py -------------------------------------------------------------------------------- /Other/running_median.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/running_median.py -------------------------------------------------------------------------------- /Other/safe_squares_rooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/safe_squares_rooks.py -------------------------------------------------------------------------------- /Other/search_2d_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/search_2d_matrix.py -------------------------------------------------------------------------------- /Other/set_matrix_zeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/set_matrix_zeroes.py -------------------------------------------------------------------------------- /Other/sliding_window_maximum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/sliding_window_maximum.py -------------------------------------------------------------------------------- /Other/spiral_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/spiral_matrix.py -------------------------------------------------------------------------------- /Other/valid_parentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Other/valid_parentheses.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/README.md -------------------------------------------------------------------------------- /Strings/encoding_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/encoding_string.py -------------------------------------------------------------------------------- /Strings/longest_common_prefix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/longest_common_prefix.py -------------------------------------------------------------------------------- /Strings/longest_palindromic_substring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/longest_palindromic_substring.py -------------------------------------------------------------------------------- /Strings/reverse_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/reverse_string.py -------------------------------------------------------------------------------- /Strings/reverse_vowels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/reverse_vowels.py -------------------------------------------------------------------------------- /Strings/reverse_words_in_sentence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/reverse_words_in_sentence.py -------------------------------------------------------------------------------- /Strings/strong_password_checker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/strong_password_checker.py -------------------------------------------------------------------------------- /Strings/swap_first_and_last_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/swap_first_and_last_word.py -------------------------------------------------------------------------------- /Strings/zigzag_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Strings/zigzag_conversion.py -------------------------------------------------------------------------------- /Trees/diameter_of_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/diameter_of_binary_tree.py -------------------------------------------------------------------------------- /Trees/find_kth_smallest_node_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/find_kth_smallest_node_bst.py -------------------------------------------------------------------------------- /Trees/find_max_branch_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/find_max_branch_sum.py -------------------------------------------------------------------------------- /Trees/find_max_path_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/find_max_path_sum.py -------------------------------------------------------------------------------- /Trees/find_second_largest_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/find_second_largest_node.py -------------------------------------------------------------------------------- /Trees/find_second_largest_node_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/find_second_largest_node_bst.py -------------------------------------------------------------------------------- /Trees/populating_next_pointers_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/populating_next_pointers_tree.py -------------------------------------------------------------------------------- /Trees/same_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/same_tree.py -------------------------------------------------------------------------------- /Trees/tree_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/tree_helpers.py -------------------------------------------------------------------------------- /Trees/unival_trees.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/unival_trees.py -------------------------------------------------------------------------------- /Trees/valid_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/valid_bst.py -------------------------------------------------------------------------------- /Trees/zigzag_level_order_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MTrajK/coding-problems/HEAD/Trees/zigzag_level_order_traversal.py --------------------------------------------------------------------------------