├── .gitignore ├── notes ├── .gitignore ├── babel.config.js ├── docs │ ├── ds&a │ │ ├── _category_.json │ │ ├── assets │ │ │ └── time-and-space-complexity │ │ │ │ ├── Big-O_Complexity_Chart.png │ │ │ │ ├── Common_Data_Structure_Operations.png │ │ │ │ └── RecursiveRuntimes.excalidraw.png │ │ ├── intro.md │ │ └── time-and-space-complexity.md │ └── sys-design │ │ ├── _category_.json │ │ └── intro.md ├── docusaurus.config.js ├── package.json ├── sidebars.js ├── src │ ├── css │ │ └── custom.css │ ├── fonts │ │ ├── Menlo │ │ │ └── Menlo-Regular.woff │ │ └── Ubuntu │ │ │ ├── ubuntu-v15-latin-300.eot │ │ │ ├── ubuntu-v15-latin-300.svg │ │ │ ├── ubuntu-v15-latin-300.ttf │ │ │ ├── ubuntu-v15-latin-300.woff │ │ │ ├── ubuntu-v15-latin-300.woff2 │ │ │ ├── ubuntu-v15-latin-300italic.eot │ │ │ ├── ubuntu-v15-latin-300italic.svg │ │ │ ├── ubuntu-v15-latin-300italic.ttf │ │ │ ├── ubuntu-v15-latin-300italic.woff │ │ │ ├── ubuntu-v15-latin-300italic.woff2 │ │ │ ├── ubuntu-v15-latin-500.eot │ │ │ ├── ubuntu-v15-latin-500.svg │ │ │ ├── ubuntu-v15-latin-500.ttf │ │ │ ├── ubuntu-v15-latin-500.woff │ │ │ ├── ubuntu-v15-latin-500.woff2 │ │ │ ├── ubuntu-v15-latin-500italic.eot │ │ │ ├── ubuntu-v15-latin-500italic.svg │ │ │ ├── ubuntu-v15-latin-500italic.ttf │ │ │ ├── ubuntu-v15-latin-500italic.woff │ │ │ ├── ubuntu-v15-latin-500italic.woff2 │ │ │ ├── ubuntu-v15-latin-700.eot │ │ │ ├── ubuntu-v15-latin-700.svg │ │ │ ├── ubuntu-v15-latin-700.ttf │ │ │ ├── ubuntu-v15-latin-700.woff │ │ │ ├── ubuntu-v15-latin-700.woff2 │ │ │ ├── ubuntu-v15-latin-700italic.eot │ │ │ ├── ubuntu-v15-latin-700italic.svg │ │ │ ├── ubuntu-v15-latin-700italic.ttf │ │ │ ├── ubuntu-v15-latin-700italic.woff │ │ │ ├── ubuntu-v15-latin-700italic.woff2 │ │ │ ├── ubuntu-v15-latin-italic.eot │ │ │ ├── ubuntu-v15-latin-italic.svg │ │ │ ├── ubuntu-v15-latin-italic.ttf │ │ │ ├── ubuntu-v15-latin-italic.woff │ │ │ ├── ubuntu-v15-latin-italic.woff2 │ │ │ ├── ubuntu-v15-latin-regular.eot │ │ │ ├── ubuntu-v15-latin-regular.svg │ │ │ ├── ubuntu-v15-latin-regular.ttf │ │ │ ├── ubuntu-v15-latin-regular.woff │ │ │ └── ubuntu-v15-latin-regular.woff2 │ └── pages │ │ ├── index.js │ │ └── index.module.css ├── static │ ├── .nojekyll │ └── img │ │ ├── favicon.ico │ │ └── logo.png └── yarn.lock └── solutions ├── Arrays ├── Matrices │ ├── maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.py │ ├── rotate_image.png │ ├── rotate_image.py │ ├── set_matrix_zeros.py │ └── spiral_matrix.py ├── README.md ├── buildings_with_an_ocean_view.py ├── contains_duplicate.py ├── drone_flight_planner.py ├── find_three_largest_numbers.py ├── k_diff_pairs_in_an_array.py ├── longest_peak.py ├── monotonic_array.py ├── non_constructible_change.py ├── product_of_array_except_self.py ├── product_sum.py ├── remove_duplicates_from_sorted_array.py ├── shortest_unsorted_continuous_subarray.py ├── subarray_sum_equals_k.py ├── tournament_winner.py └── trapping_rain_water.py ├── Big-O Cheat Sheet.png ├── Greedy Algorithms ├── class_photos.py ├── jump_game.py ├── jump_game_two.py ├── minimum_number_of_taps_to_open_to_water_a_garden.py ├── minimum_waiting_time.py ├── partition_labels.py ├── tandem_bicycle.py ├── task_assignment.py ├── valid_starting_city.py └── video_stitching.py ├── Hash Tables ├── copy_list_with_random_pointer.py ├── dot_product_of_two_sparse_vectors.py ├── is_anonymous_letter_constructible.py ├── is_string_permutable_to_palindrome.py ├── longest_consecutive_sequence.py ├── lru_cache.py ├── random_pick_index.py └── sort_characters_by_frequency.py ├── Heaps ├── meeting_rooms_two.py ├── reorganize_string.py └── task_scheduler.py ├── LICENSE ├── Linked Lists ├── add_two_numbers.py ├── add_two_numbers_two.py ├── copy_list_with_random_pointer.py ├── insert_into_a_sorted_circular_linked_list.py ├── intersection_of_two_linked_lists.py ├── linked_list_cycle.py ├── linked_list_cycle_2.py ├── merge_two_sorted_lists.py ├── remove_duplicates_from_linked_list.py ├── remove_nth_node_from_end_of_list.py ├── reorder_lists.py ├── reverse_linked_list.py ├── reverse_linked_list_two.py └── rotate_list.py ├── Math Tricks ├── add_binary.py ├── angle_between_hands_of_a_clock.py ├── basic_calculator_two.py ├── best_time_to_buy_and_sell_stock_two.py ├── continuous_subarray_sum.py ├── count_primes.py ├── divide_two_integers.py ├── friends_of_appropriate_ages.py ├── integer_to_english_words.py ├── linked_list_cycle_2.py ├── maximum_swap.py ├── multiply_strings.py ├── next_permutation.py ├── pascal's_triangle.py ├── pow_x_n.py ├── random_pick_with_weight.py ├── reaching_points.py ├── robot_bounded_in_circle.py ├── robot_bounded_in_circle_solution1.png ├── roman_to_integer.py ├── string_integer_interconversion.py ├── string_to_integer_atoi.py └── valid_number.py ├── OOP & Design ├── design_underground_system.py ├── h_tree_construction.py ├── lru_cache.py ├── range_sum_query_2d_immutable.py └── range_sum_query_immutable.py ├── README.md ├── Recursion & Dynamic Programming ├── BackTracking │ ├── combination_sum.py │ ├── combination_sum_three.py │ ├── cycle_in_graph.py │ ├── expression_add_operators.py │ ├── n_queens.py │ ├── partition_to_k_equal_sum_subsets.py │ ├── permutations_two.py │ ├── remove_invalid_parentheses.py │ ├── sudoku.py │ ├── word_break.py │ └── word_break_two.py ├── Dynamic programming │ ├── 0_1_knapsack │ │ ├── 0-1_knapsack.py │ │ ├── bottom_up_dynamic_programming_0_1_knapsack.py │ │ ├── brute_force_0_1_knapsack.py │ │ └── top_down_dynamic_programming_with_memoization_0_1_knapsack.py │ ├── coin_change.py │ ├── coin_change_2.py │ ├── decode_ways.py │ ├── equal_subset_sum_partition.py │ ├── interleaving_string.py │ ├── longest_increasing_subsequence.py │ ├── max_product_subarray.py │ ├── max_subset_sum_no_adjacent.py │ ├── maximum_height_by_stacking_cuboids.py │ ├── nth_fibonacci.py │ ├── russian_doll_envelopes.py │ ├── staircase_traversal.py │ └── unique_paths.py ├── README.md ├── letter_combinations_of_a_phone_number.py ├── magic_index.py ├── recursive_multiply.py ├── regular_expression_matching.py ├── sort_stack.py ├── strobogrammatic_number_two.py ├── tower_of_hanoi.py └── unique_paths_2.py ├── Regex ├── TypoSquating │ └── typosquating_one.py └── detect_the_domain_name.py ├── Searching ├── README.md ├── Searching Algorithms │ ├── BFS │ │ ├── breadth_first_search.py │ │ └── rotting_oranges.py │ ├── Binary Search │ │ ├── binary_search.py │ │ ├── find_first_and_last_position_of_element_in_sorted_array.py │ │ ├── find_minimum_in_rotated_array.py │ │ ├── find_peak_element.py │ │ ├── first_bad_version.py │ │ ├── guess_number_higher_or_lower.py │ │ ├── root_of_number.py │ │ ├── search_in_rotated_sorted_array.py │ │ └── sqrtx.py │ ├── depth_first_search.py │ └── quick_select.py ├── cycle_in_graph.py ├── intersection_of_two_arrays.py ├── intersection_of_two_arrays_two.py ├── leftmost_column_with_at_least_a_one.py ├── search_in_a_sorted_matrix.py └── word_search.py ├── Sorting ├── README.md ├── Sorting Algorithms │ ├── bubble_sort.py │ ├── insertion_sort.py │ ├── quick_sort.py │ └── selection_sort.py ├── kth_largest_element_in_an_array.py └── sorted_squared_array.py ├── Stacks & Queues ├── add_two_numbers_two.py ├── decode_string.py ├── design_circular_queue.py ├── exclusive_time_of_functions.png ├── exclusive_time_of_functions.py ├── implement_queue_using_stacks.py ├── largest_rectangle_in_histogram.py ├── min_max_stack.py ├── minimum_remove_to_make_valid_parentheses.py ├── next_greater_element.py ├── simplify_path.py ├── sort_stack.py ├── sunset_views.py └── valid_parenthesis.py ├── Strings ├── break_a_palindrome.py ├── caesar_cipher_encryptor.py ├── count_and_say.py ├── first_unique_character_in_string.py ├── group_anagrams.py ├── group_shifted_strings.py ├── longest_palindromic_substring.py ├── longest_substring_alphabetically.py ├── minimum_characters_for_words.py ├── minimum_window_substring.py ├── one_edit_distance.py ├── pattern_matcher.py ├── read_n_characters_given_read4.py ├── read_n_characters_given_read4_two_call_multiple_times.py ├── reverse_integer.py ├── reverse_words_in_string.py ├── string_compression.py ├── string_integer_interconversion.py ├── string_rotation.py ├── strobogrammatic_number.py ├── underscorify_substring.py ├── valid_anagram.py ├── valid_ip_addresses.py ├── valid_palindrome.py ├── valid_palindrome_two.py ├── validate_ip_address.py └── verifying_an_alien_dictionary.py ├── Trees and Graphs ├── Binary Search Trees │ ├── balance_a_binary_search_tree.py │ ├── binary_search_tree_iterator.py │ ├── bst_from_preorder.py │ ├── bst_traversal.py │ ├── closest_value_bst.py │ ├── convert_binary_search_tree_to_sorted_doubly_linked_list.png │ ├── convert_binary_search_tree_to_sorted_doubly_linked_list.py │ ├── find_kth_largest_value_in_bst.py │ ├── inorder_successor_in_bst.py │ ├── inorder_successor_in_bst_two.py │ ├── lowest_common_ancestor.py │ ├── min_height_bst.py │ ├── reconstruct_bst_from_inorder.py │ ├── same_BSTs.py │ ├── serialize_and_deserialize_bst.py │ ├── validate_binary_search_tree.py │ └── validate_three_nodes.py ├── Binary Trees │ ├── balanced_binary_tree.py │ ├── binary_tree_inorder_traversal_(iteratively).py │ ├── binary_tree_inorder_traversal_(morris_inorder_traversal).py │ ├── binary_tree_maximum_path_sum.py │ ├── binary_tree_paths.py │ ├── binary_tree_right_side_view.py │ ├── binary_tree_vertical_order_traversal.py │ ├── binary_tree_zigzag_level_traversal.py │ ├── branch_sums.py │ ├── construct_binary_tree_from_inorder_and_postorder_traversal.py │ ├── construct_binary_tree_from_preorder_and_inorder_traversal.py │ ├── diameter_of_binary_tree.py │ ├── find_nodes_distance_k.py │ ├── find_successor.py │ ├── flatten_binary_tree_to_linked_list.py │ ├── invert_binary_tree.py │ ├── lowest_common_ancestor_of_a_binary_tree_three.py │ ├── lowest_common_ancestor_of_binary_tree.py │ ├── maximum_depth_of_binary_tree.py │ ├── node_depths.py │ ├── path_sum_two.py │ ├── path_sum_two.py.png │ ├── populating_next_right_pointers_in_each_node.py │ ├── populating_next_right_pointers_in_each_node.py.png │ ├── serialize_and_deserialize_binary_tree.py │ ├── subtree_of_another_tree.py │ ├── symmetric_tree.py │ └── vertical_order_traversal_of_a_binary_tree.py ├── Graphs │ ├── Dijkstra's Algorithm │ │ └── cheapest_flights_within_k_stops.py │ ├── Minimum Spanning Tree │ │ ├── connecting_cities_with_minimum_cost.py │ │ ├── min_cost_to_connect_all_points.py │ │ └── path_with_maximum_minimum_value.py │ ├── Union Find │ │ └── making_a_large_island.py │ ├── accounts_merge.py │ ├── alien_dictionary.py │ ├── clone_graphs.py │ ├── cycle_in_graph.py │ ├── flood_fill.py │ ├── is_graph_bipartite.py │ ├── max_area_of_island.py │ ├── minimum_passes_of_matrix.py │ ├── number_of_islands.py │ ├── remove_islands.py │ ├── river_sizes.py │ ├── shortest_distance_from_all_buildings.py │ ├── single_cycle_check.py │ └── youngest_common_ancestor.py └── Trees │ └── lowest_common_manager.py ├── Trie ├── boogle_board.py ├── design_add_and_search_words_data_structure.py └── multi_string_search.py ├── _Patterns for Coding Questions ├── Bitwise XOR │ ├── missing_number.py │ └── single_number.py ├── Cyclic Sort │ ├── cyclic_sort.py │ ├── find_all_duplicates_in_an_array.py │ ├── find_all_numbers_disappeared_in_an_array.py │ ├── find_the_missing_number.py │ └── first_duplicate_value.py ├── Hare & Tortoise Algorithm │ ├── find_start_of_linked_list_cycle.py │ ├── happy_number.py │ ├── length_of_linked_list_cycle.py │ └── linked_list_cycle.py ├── K-Way Merge │ ├── kth_smallest_number_in_m_sorted_lists.py │ ├── merge_k_sorted_lists.py │ └── merge_sorted_array.py ├── Merge Intervals │ ├── insert_interval.py │ ├── interval_list_intersections.py │ └── merge_overlapping_Intervals.py ├── Sliding Window │ ├── find_all_anagrams_in_a_string.py │ ├── fruits_into_baskets.py │ ├── longest_substring_with_at_most_k_distinct_characters.py │ ├── longest_substring_without_repeating_characters.py │ ├── maximum_sum_subarray_of_size_k.py │ ├── permutation_in_string.py │ └── smallest_subarray_with_a_given_sum.py ├── Subsets │ ├── letter_case_permutation.py │ ├── permutations.py │ ├── subsets.py │ └── subsets_two.py ├── Top 'K' Elements │ ├── connect_ropes.py │ ├── k_closest_numbers.py │ ├── k_closest_points_to_the_origin.py │ ├── kth_largest_number_in_a_stream.py │ ├── sort_k_sorted_array.py │ ├── top_k_frequent_numbers.py │ └── top_k_numbers.py ├── Topological Sort │ ├── course_schedule.py │ ├── course_schedule_two.py │ └── topological_sort.py ├── Two Heaps │ └── continuous_median.py ├── Two Pointers │ ├── best_time_to_buy_and_sell_stock.py │ ├── candy_crush.png │ ├── candy_crush.py │ ├── container_with_most_water.py │ ├── dutch_national_flag_problem.py │ ├── four_sum.py │ ├── move_element_to_end.py │ ├── move_zeroes.py │ ├── pairs_with_specific_difference.py │ ├── remove_duplicates.py │ ├── smallest_difference.py │ ├── squaring_a_sorted_array.py │ ├── subarrays_with_product_less_than_a_target.py │ ├── three_sum.py │ ├── two_sum.py │ └── validate_subsequence.py └── _Other │ ├── Kadane's Algorithm │ └── maximum_subarray.py │ ├── Parenthesis │ ├── longest_balanced_parenthesis.py │ └── minimum_add_to_make_parentheses_valid.py │ └── _levenshtein_distance.py ├── big-o-cheatsheet.pdf └── remove-all-easymedium-questions-from-leetcode-company-problems-page-after-sorting-by-frequency.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/.gitignore -------------------------------------------------------------------------------- /notes/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/.gitignore -------------------------------------------------------------------------------- /notes/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/babel.config.js -------------------------------------------------------------------------------- /notes/docs/ds&a/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/ds&a/_category_.json -------------------------------------------------------------------------------- /notes/docs/ds&a/assets/time-and-space-complexity/Big-O_Complexity_Chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/ds&a/assets/time-and-space-complexity/Big-O_Complexity_Chart.png -------------------------------------------------------------------------------- /notes/docs/ds&a/assets/time-and-space-complexity/Common_Data_Structure_Operations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/ds&a/assets/time-and-space-complexity/Common_Data_Structure_Operations.png -------------------------------------------------------------------------------- /notes/docs/ds&a/assets/time-and-space-complexity/RecursiveRuntimes.excalidraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/ds&a/assets/time-and-space-complexity/RecursiveRuntimes.excalidraw.png -------------------------------------------------------------------------------- /notes/docs/ds&a/intro.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/ds&a/intro.md -------------------------------------------------------------------------------- /notes/docs/ds&a/time-and-space-complexity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/ds&a/time-and-space-complexity.md -------------------------------------------------------------------------------- /notes/docs/sys-design/_category_.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docs/sys-design/_category_.json -------------------------------------------------------------------------------- /notes/docs/sys-design/intro.md: -------------------------------------------------------------------------------- 1 | --- 2 | sidebar_position: 1 3 | --- 4 | 5 | # Intro 6 | 7 | Coming soon 🚧 8 | -------------------------------------------------------------------------------- /notes/docusaurus.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/docusaurus.config.js -------------------------------------------------------------------------------- /notes/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/package.json -------------------------------------------------------------------------------- /notes/sidebars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/sidebars.js -------------------------------------------------------------------------------- /notes/src/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/css/custom.css -------------------------------------------------------------------------------- /notes/src/fonts/Menlo/Menlo-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Menlo/Menlo-Regular.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-300italic.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-500italic.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-700italic.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-italic.woff2 -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.eot -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.svg -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.ttf -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.woff -------------------------------------------------------------------------------- /notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/fonts/Ubuntu/ubuntu-v15-latin-regular.woff2 -------------------------------------------------------------------------------- /notes/src/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/pages/index.js -------------------------------------------------------------------------------- /notes/src/pages/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/src/pages/index.module.css -------------------------------------------------------------------------------- /notes/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /notes/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/static/img/favicon.ico -------------------------------------------------------------------------------- /notes/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/static/img/logo.png -------------------------------------------------------------------------------- /notes/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/notes/yarn.lock -------------------------------------------------------------------------------- /solutions/Arrays/Matrices/maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/Matrices/maximum_area_of_a_piece_of_cake_after_horizontal_and_vertical_cuts.py -------------------------------------------------------------------------------- /solutions/Arrays/Matrices/rotate_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/Matrices/rotate_image.png -------------------------------------------------------------------------------- /solutions/Arrays/Matrices/rotate_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/Matrices/rotate_image.py -------------------------------------------------------------------------------- /solutions/Arrays/Matrices/set_matrix_zeros.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/Matrices/set_matrix_zeros.py -------------------------------------------------------------------------------- /solutions/Arrays/Matrices/spiral_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/Matrices/spiral_matrix.py -------------------------------------------------------------------------------- /solutions/Arrays/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/README.md -------------------------------------------------------------------------------- /solutions/Arrays/buildings_with_an_ocean_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/buildings_with_an_ocean_view.py -------------------------------------------------------------------------------- /solutions/Arrays/contains_duplicate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/contains_duplicate.py -------------------------------------------------------------------------------- /solutions/Arrays/drone_flight_planner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/drone_flight_planner.py -------------------------------------------------------------------------------- /solutions/Arrays/find_three_largest_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/find_three_largest_numbers.py -------------------------------------------------------------------------------- /solutions/Arrays/k_diff_pairs_in_an_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/k_diff_pairs_in_an_array.py -------------------------------------------------------------------------------- /solutions/Arrays/longest_peak.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/longest_peak.py -------------------------------------------------------------------------------- /solutions/Arrays/monotonic_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/monotonic_array.py -------------------------------------------------------------------------------- /solutions/Arrays/non_constructible_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/non_constructible_change.py -------------------------------------------------------------------------------- /solutions/Arrays/product_of_array_except_self.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/product_of_array_except_self.py -------------------------------------------------------------------------------- /solutions/Arrays/product_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/product_sum.py -------------------------------------------------------------------------------- /solutions/Arrays/remove_duplicates_from_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/remove_duplicates_from_sorted_array.py -------------------------------------------------------------------------------- /solutions/Arrays/shortest_unsorted_continuous_subarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/shortest_unsorted_continuous_subarray.py -------------------------------------------------------------------------------- /solutions/Arrays/subarray_sum_equals_k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/subarray_sum_equals_k.py -------------------------------------------------------------------------------- /solutions/Arrays/tournament_winner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/tournament_winner.py -------------------------------------------------------------------------------- /solutions/Arrays/trapping_rain_water.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Arrays/trapping_rain_water.py -------------------------------------------------------------------------------- /solutions/Big-O Cheat Sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Big-O Cheat Sheet.png -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/class_photos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/class_photos.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/jump_game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/jump_game.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/jump_game_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/jump_game_two.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/minimum_number_of_taps_to_open_to_water_a_garden.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/minimum_number_of_taps_to_open_to_water_a_garden.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/minimum_waiting_time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/minimum_waiting_time.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/partition_labels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/partition_labels.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/tandem_bicycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/tandem_bicycle.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/task_assignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/task_assignment.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/valid_starting_city.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/valid_starting_city.py -------------------------------------------------------------------------------- /solutions/Greedy Algorithms/video_stitching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Greedy Algorithms/video_stitching.py -------------------------------------------------------------------------------- /solutions/Hash Tables/copy_list_with_random_pointer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/copy_list_with_random_pointer.py -------------------------------------------------------------------------------- /solutions/Hash Tables/dot_product_of_two_sparse_vectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/dot_product_of_two_sparse_vectors.py -------------------------------------------------------------------------------- /solutions/Hash Tables/is_anonymous_letter_constructible.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/is_anonymous_letter_constructible.py -------------------------------------------------------------------------------- /solutions/Hash Tables/is_string_permutable_to_palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/is_string_permutable_to_palindrome.py -------------------------------------------------------------------------------- /solutions/Hash Tables/longest_consecutive_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/longest_consecutive_sequence.py -------------------------------------------------------------------------------- /solutions/Hash Tables/lru_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/lru_cache.py -------------------------------------------------------------------------------- /solutions/Hash Tables/random_pick_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/random_pick_index.py -------------------------------------------------------------------------------- /solutions/Hash Tables/sort_characters_by_frequency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Hash Tables/sort_characters_by_frequency.py -------------------------------------------------------------------------------- /solutions/Heaps/meeting_rooms_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Heaps/meeting_rooms_two.py -------------------------------------------------------------------------------- /solutions/Heaps/reorganize_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Heaps/reorganize_string.py -------------------------------------------------------------------------------- /solutions/Heaps/task_scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Heaps/task_scheduler.py -------------------------------------------------------------------------------- /solutions/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/LICENSE -------------------------------------------------------------------------------- /solutions/Linked Lists/add_two_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/add_two_numbers.py -------------------------------------------------------------------------------- /solutions/Linked Lists/add_two_numbers_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/add_two_numbers_two.py -------------------------------------------------------------------------------- /solutions/Linked Lists/copy_list_with_random_pointer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/copy_list_with_random_pointer.py -------------------------------------------------------------------------------- /solutions/Linked Lists/insert_into_a_sorted_circular_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/insert_into_a_sorted_circular_linked_list.py -------------------------------------------------------------------------------- /solutions/Linked Lists/intersection_of_two_linked_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/intersection_of_two_linked_lists.py -------------------------------------------------------------------------------- /solutions/Linked Lists/linked_list_cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/linked_list_cycle.py -------------------------------------------------------------------------------- /solutions/Linked Lists/linked_list_cycle_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/linked_list_cycle_2.py -------------------------------------------------------------------------------- /solutions/Linked Lists/merge_two_sorted_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/merge_two_sorted_lists.py -------------------------------------------------------------------------------- /solutions/Linked Lists/remove_duplicates_from_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/remove_duplicates_from_linked_list.py -------------------------------------------------------------------------------- /solutions/Linked Lists/remove_nth_node_from_end_of_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/remove_nth_node_from_end_of_list.py -------------------------------------------------------------------------------- /solutions/Linked Lists/reorder_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/reorder_lists.py -------------------------------------------------------------------------------- /solutions/Linked Lists/reverse_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/reverse_linked_list.py -------------------------------------------------------------------------------- /solutions/Linked Lists/reverse_linked_list_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/reverse_linked_list_two.py -------------------------------------------------------------------------------- /solutions/Linked Lists/rotate_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Linked Lists/rotate_list.py -------------------------------------------------------------------------------- /solutions/Math Tricks/add_binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/add_binary.py -------------------------------------------------------------------------------- /solutions/Math Tricks/angle_between_hands_of_a_clock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/angle_between_hands_of_a_clock.py -------------------------------------------------------------------------------- /solutions/Math Tricks/basic_calculator_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/basic_calculator_two.py -------------------------------------------------------------------------------- /solutions/Math Tricks/best_time_to_buy_and_sell_stock_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/best_time_to_buy_and_sell_stock_two.py -------------------------------------------------------------------------------- /solutions/Math Tricks/continuous_subarray_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/continuous_subarray_sum.py -------------------------------------------------------------------------------- /solutions/Math Tricks/count_primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/count_primes.py -------------------------------------------------------------------------------- /solutions/Math Tricks/divide_two_integers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/divide_two_integers.py -------------------------------------------------------------------------------- /solutions/Math Tricks/friends_of_appropriate_ages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/friends_of_appropriate_ages.py -------------------------------------------------------------------------------- /solutions/Math Tricks/integer_to_english_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/integer_to_english_words.py -------------------------------------------------------------------------------- /solutions/Math Tricks/linked_list_cycle_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/linked_list_cycle_2.py -------------------------------------------------------------------------------- /solutions/Math Tricks/maximum_swap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/maximum_swap.py -------------------------------------------------------------------------------- /solutions/Math Tricks/multiply_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/multiply_strings.py -------------------------------------------------------------------------------- /solutions/Math Tricks/next_permutation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/next_permutation.py -------------------------------------------------------------------------------- /solutions/Math Tricks/pascal's_triangle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/pascal's_triangle.py -------------------------------------------------------------------------------- /solutions/Math Tricks/pow_x_n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/pow_x_n.py -------------------------------------------------------------------------------- /solutions/Math Tricks/random_pick_with_weight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/random_pick_with_weight.py -------------------------------------------------------------------------------- /solutions/Math Tricks/reaching_points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/reaching_points.py -------------------------------------------------------------------------------- /solutions/Math Tricks/robot_bounded_in_circle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/robot_bounded_in_circle.py -------------------------------------------------------------------------------- /solutions/Math Tricks/robot_bounded_in_circle_solution1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/robot_bounded_in_circle_solution1.png -------------------------------------------------------------------------------- /solutions/Math Tricks/roman_to_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/roman_to_integer.py -------------------------------------------------------------------------------- /solutions/Math Tricks/string_integer_interconversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/string_integer_interconversion.py -------------------------------------------------------------------------------- /solutions/Math Tricks/string_to_integer_atoi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/string_to_integer_atoi.py -------------------------------------------------------------------------------- /solutions/Math Tricks/valid_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Math Tricks/valid_number.py -------------------------------------------------------------------------------- /solutions/OOP & Design/design_underground_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/OOP & Design/design_underground_system.py -------------------------------------------------------------------------------- /solutions/OOP & Design/h_tree_construction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/OOP & Design/h_tree_construction.py -------------------------------------------------------------------------------- /solutions/OOP & Design/lru_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/OOP & Design/lru_cache.py -------------------------------------------------------------------------------- /solutions/OOP & Design/range_sum_query_2d_immutable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/OOP & Design/range_sum_query_2d_immutable.py -------------------------------------------------------------------------------- /solutions/OOP & Design/range_sum_query_immutable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/OOP & Design/range_sum_query_immutable.py -------------------------------------------------------------------------------- /solutions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/README.md -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/combination_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/combination_sum.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/combination_sum_three.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/combination_sum_three.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/cycle_in_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/cycle_in_graph.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/expression_add_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/expression_add_operators.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/n_queens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/n_queens.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/partition_to_k_equal_sum_subsets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/partition_to_k_equal_sum_subsets.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/permutations_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/permutations_two.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/remove_invalid_parentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/remove_invalid_parentheses.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/sudoku.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/sudoku.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/word_break.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/word_break.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/BackTracking/word_break_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/BackTracking/word_break_two.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/0-1_knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/0-1_knapsack.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/bottom_up_dynamic_programming_0_1_knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/bottom_up_dynamic_programming_0_1_knapsack.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/brute_force_0_1_knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/brute_force_0_1_knapsack.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/top_down_dynamic_programming_with_memoization_0_1_knapsack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/0_1_knapsack/top_down_dynamic_programming_with_memoization_0_1_knapsack.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/coin_change.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/coin_change.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/coin_change_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/coin_change_2.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/decode_ways.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/decode_ways.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/equal_subset_sum_partition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/equal_subset_sum_partition.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/interleaving_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/interleaving_string.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/longest_increasing_subsequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/longest_increasing_subsequence.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/max_product_subarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/max_product_subarray.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/max_subset_sum_no_adjacent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/max_subset_sum_no_adjacent.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/maximum_height_by_stacking_cuboids.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/maximum_height_by_stacking_cuboids.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/nth_fibonacci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/nth_fibonacci.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/russian_doll_envelopes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/russian_doll_envelopes.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/staircase_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/staircase_traversal.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/Dynamic programming/unique_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/Dynamic programming/unique_paths.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/README.md -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/letter_combinations_of_a_phone_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/letter_combinations_of_a_phone_number.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/magic_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/magic_index.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/recursive_multiply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/recursive_multiply.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/regular_expression_matching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/regular_expression_matching.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/sort_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/sort_stack.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/strobogrammatic_number_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/strobogrammatic_number_two.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/tower_of_hanoi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/tower_of_hanoi.py -------------------------------------------------------------------------------- /solutions/Recursion & Dynamic Programming/unique_paths_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Recursion & Dynamic Programming/unique_paths_2.py -------------------------------------------------------------------------------- /solutions/Regex/TypoSquating/typosquating_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Regex/TypoSquating/typosquating_one.py -------------------------------------------------------------------------------- /solutions/Regex/detect_the_domain_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Regex/detect_the_domain_name.py -------------------------------------------------------------------------------- /solutions/Searching/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/README.md -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/BFS/breadth_first_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/BFS/breadth_first_search.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/BFS/rotting_oranges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/BFS/rotting_oranges.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/binary_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/binary_search.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/find_first_and_last_position_of_element_in_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/find_first_and_last_position_of_element_in_sorted_array.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/find_minimum_in_rotated_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/find_minimum_in_rotated_array.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/find_peak_element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/find_peak_element.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/first_bad_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/first_bad_version.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/guess_number_higher_or_lower.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/guess_number_higher_or_lower.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/root_of_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/root_of_number.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/search_in_rotated_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/search_in_rotated_sorted_array.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/Binary Search/sqrtx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/Binary Search/sqrtx.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/depth_first_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/depth_first_search.py -------------------------------------------------------------------------------- /solutions/Searching/Searching Algorithms/quick_select.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/Searching Algorithms/quick_select.py -------------------------------------------------------------------------------- /solutions/Searching/cycle_in_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/cycle_in_graph.py -------------------------------------------------------------------------------- /solutions/Searching/intersection_of_two_arrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/intersection_of_two_arrays.py -------------------------------------------------------------------------------- /solutions/Searching/intersection_of_two_arrays_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/intersection_of_two_arrays_two.py -------------------------------------------------------------------------------- /solutions/Searching/leftmost_column_with_at_least_a_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/leftmost_column_with_at_least_a_one.py -------------------------------------------------------------------------------- /solutions/Searching/search_in_a_sorted_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/search_in_a_sorted_matrix.py -------------------------------------------------------------------------------- /solutions/Searching/word_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Searching/word_search.py -------------------------------------------------------------------------------- /solutions/Sorting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/README.md -------------------------------------------------------------------------------- /solutions/Sorting/Sorting Algorithms/bubble_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/Sorting Algorithms/bubble_sort.py -------------------------------------------------------------------------------- /solutions/Sorting/Sorting Algorithms/insertion_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/Sorting Algorithms/insertion_sort.py -------------------------------------------------------------------------------- /solutions/Sorting/Sorting Algorithms/quick_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/Sorting Algorithms/quick_sort.py -------------------------------------------------------------------------------- /solutions/Sorting/Sorting Algorithms/selection_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/Sorting Algorithms/selection_sort.py -------------------------------------------------------------------------------- /solutions/Sorting/kth_largest_element_in_an_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/kth_largest_element_in_an_array.py -------------------------------------------------------------------------------- /solutions/Sorting/sorted_squared_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Sorting/sorted_squared_array.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/add_two_numbers_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/add_two_numbers_two.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/decode_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/decode_string.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/design_circular_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/design_circular_queue.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/exclusive_time_of_functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/exclusive_time_of_functions.png -------------------------------------------------------------------------------- /solutions/Stacks & Queues/exclusive_time_of_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/exclusive_time_of_functions.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/implement_queue_using_stacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/implement_queue_using_stacks.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/largest_rectangle_in_histogram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/largest_rectangle_in_histogram.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/min_max_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/min_max_stack.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/minimum_remove_to_make_valid_parentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/minimum_remove_to_make_valid_parentheses.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/next_greater_element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/next_greater_element.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/simplify_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/simplify_path.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/sort_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/sort_stack.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/sunset_views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/sunset_views.py -------------------------------------------------------------------------------- /solutions/Stacks & Queues/valid_parenthesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Stacks & Queues/valid_parenthesis.py -------------------------------------------------------------------------------- /solutions/Strings/break_a_palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/break_a_palindrome.py -------------------------------------------------------------------------------- /solutions/Strings/caesar_cipher_encryptor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/caesar_cipher_encryptor.py -------------------------------------------------------------------------------- /solutions/Strings/count_and_say.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/count_and_say.py -------------------------------------------------------------------------------- /solutions/Strings/first_unique_character_in_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/first_unique_character_in_string.py -------------------------------------------------------------------------------- /solutions/Strings/group_anagrams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/group_anagrams.py -------------------------------------------------------------------------------- /solutions/Strings/group_shifted_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/group_shifted_strings.py -------------------------------------------------------------------------------- /solutions/Strings/longest_palindromic_substring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/longest_palindromic_substring.py -------------------------------------------------------------------------------- /solutions/Strings/longest_substring_alphabetically.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/longest_substring_alphabetically.py -------------------------------------------------------------------------------- /solutions/Strings/minimum_characters_for_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/minimum_characters_for_words.py -------------------------------------------------------------------------------- /solutions/Strings/minimum_window_substring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/minimum_window_substring.py -------------------------------------------------------------------------------- /solutions/Strings/one_edit_distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/one_edit_distance.py -------------------------------------------------------------------------------- /solutions/Strings/pattern_matcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/pattern_matcher.py -------------------------------------------------------------------------------- /solutions/Strings/read_n_characters_given_read4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/read_n_characters_given_read4.py -------------------------------------------------------------------------------- /solutions/Strings/read_n_characters_given_read4_two_call_multiple_times.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/read_n_characters_given_read4_two_call_multiple_times.py -------------------------------------------------------------------------------- /solutions/Strings/reverse_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/reverse_integer.py -------------------------------------------------------------------------------- /solutions/Strings/reverse_words_in_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/reverse_words_in_string.py -------------------------------------------------------------------------------- /solutions/Strings/string_compression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/string_compression.py -------------------------------------------------------------------------------- /solutions/Strings/string_integer_interconversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/string_integer_interconversion.py -------------------------------------------------------------------------------- /solutions/Strings/string_rotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/string_rotation.py -------------------------------------------------------------------------------- /solutions/Strings/strobogrammatic_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/strobogrammatic_number.py -------------------------------------------------------------------------------- /solutions/Strings/underscorify_substring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/underscorify_substring.py -------------------------------------------------------------------------------- /solutions/Strings/valid_anagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/valid_anagram.py -------------------------------------------------------------------------------- /solutions/Strings/valid_ip_addresses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/valid_ip_addresses.py -------------------------------------------------------------------------------- /solutions/Strings/valid_palindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/valid_palindrome.py -------------------------------------------------------------------------------- /solutions/Strings/valid_palindrome_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/valid_palindrome_two.py -------------------------------------------------------------------------------- /solutions/Strings/validate_ip_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/validate_ip_address.py -------------------------------------------------------------------------------- /solutions/Strings/verifying_an_alien_dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Strings/verifying_an_alien_dictionary.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/balance_a_binary_search_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/balance_a_binary_search_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/binary_search_tree_iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/binary_search_tree_iterator.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/bst_from_preorder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/bst_from_preorder.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/bst_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/bst_traversal.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/closest_value_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/closest_value_bst.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/convert_binary_search_tree_to_sorted_doubly_linked_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/convert_binary_search_tree_to_sorted_doubly_linked_list.png -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/convert_binary_search_tree_to_sorted_doubly_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/convert_binary_search_tree_to_sorted_doubly_linked_list.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/find_kth_largest_value_in_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/find_kth_largest_value_in_bst.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/inorder_successor_in_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/inorder_successor_in_bst.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/inorder_successor_in_bst_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/inorder_successor_in_bst_two.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/lowest_common_ancestor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/lowest_common_ancestor.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/min_height_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/min_height_bst.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/reconstruct_bst_from_inorder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/reconstruct_bst_from_inorder.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/same_BSTs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/same_BSTs.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/serialize_and_deserialize_bst.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/serialize_and_deserialize_bst.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/validate_binary_search_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/validate_binary_search_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Search Trees/validate_three_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Search Trees/validate_three_nodes.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/balanced_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/balanced_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_inorder_traversal_(iteratively).py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_inorder_traversal_(iteratively).py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_inorder_traversal_(morris_inorder_traversal).py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_inorder_traversal_(morris_inorder_traversal).py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_maximum_path_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_maximum_path_sum.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_paths.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_right_side_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_right_side_view.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_vertical_order_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_vertical_order_traversal.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/binary_tree_zigzag_level_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/binary_tree_zigzag_level_traversal.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/branch_sums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/branch_sums.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/construct_binary_tree_from_inorder_and_postorder_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/construct_binary_tree_from_inorder_and_postorder_traversal.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/construct_binary_tree_from_preorder_and_inorder_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/construct_binary_tree_from_preorder_and_inorder_traversal.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/diameter_of_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/diameter_of_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/find_nodes_distance_k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/find_nodes_distance_k.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/find_successor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/find_successor.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/flatten_binary_tree_to_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/flatten_binary_tree_to_linked_list.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/invert_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/invert_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/lowest_common_ancestor_of_a_binary_tree_three.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/lowest_common_ancestor_of_a_binary_tree_three.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/lowest_common_ancestor_of_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/lowest_common_ancestor_of_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/maximum_depth_of_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/maximum_depth_of_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/node_depths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/node_depths.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/path_sum_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/path_sum_two.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/path_sum_two.py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/path_sum_two.py.png -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/populating_next_right_pointers_in_each_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/populating_next_right_pointers_in_each_node.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/populating_next_right_pointers_in_each_node.py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/populating_next_right_pointers_in_each_node.py.png -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/serialize_and_deserialize_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/serialize_and_deserialize_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/subtree_of_another_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/subtree_of_another_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/symmetric_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/symmetric_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Binary Trees/vertical_order_traversal_of_a_binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Binary Trees/vertical_order_traversal_of_a_binary_tree.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/Dijkstra's Algorithm/cheapest_flights_within_k_stops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/Dijkstra's Algorithm/cheapest_flights_within_k_stops.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/Minimum Spanning Tree/connecting_cities_with_minimum_cost.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/Minimum Spanning Tree/connecting_cities_with_minimum_cost.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/Minimum Spanning Tree/min_cost_to_connect_all_points.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/Minimum Spanning Tree/min_cost_to_connect_all_points.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/Minimum Spanning Tree/path_with_maximum_minimum_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/Minimum Spanning Tree/path_with_maximum_minimum_value.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/Union Find/making_a_large_island.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/Union Find/making_a_large_island.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/accounts_merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/accounts_merge.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/alien_dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/alien_dictionary.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/clone_graphs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/clone_graphs.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/cycle_in_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/cycle_in_graph.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/flood_fill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/flood_fill.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/is_graph_bipartite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/is_graph_bipartite.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/max_area_of_island.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/max_area_of_island.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/minimum_passes_of_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/minimum_passes_of_matrix.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/number_of_islands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/number_of_islands.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/remove_islands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/remove_islands.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/river_sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/river_sizes.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/shortest_distance_from_all_buildings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/shortest_distance_from_all_buildings.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/single_cycle_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/single_cycle_check.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Graphs/youngest_common_ancestor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Graphs/youngest_common_ancestor.py -------------------------------------------------------------------------------- /solutions/Trees and Graphs/Trees/lowest_common_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trees and Graphs/Trees/lowest_common_manager.py -------------------------------------------------------------------------------- /solutions/Trie/boogle_board.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trie/boogle_board.py -------------------------------------------------------------------------------- /solutions/Trie/design_add_and_search_words_data_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trie/design_add_and_search_words_data_structure.py -------------------------------------------------------------------------------- /solutions/Trie/multi_string_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/Trie/multi_string_search.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Bitwise XOR/missing_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Bitwise XOR/missing_number.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Bitwise XOR/single_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Bitwise XOR/single_number.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Cyclic Sort/cyclic_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Cyclic Sort/cyclic_sort.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Cyclic Sort/find_all_duplicates_in_an_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Cyclic Sort/find_all_duplicates_in_an_array.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Cyclic Sort/find_all_numbers_disappeared_in_an_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Cyclic Sort/find_all_numbers_disappeared_in_an_array.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Cyclic Sort/find_the_missing_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Cyclic Sort/find_the_missing_number.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Cyclic Sort/first_duplicate_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Cyclic Sort/first_duplicate_value.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/find_start_of_linked_list_cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/find_start_of_linked_list_cycle.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/happy_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/happy_number.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/length_of_linked_list_cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/length_of_linked_list_cycle.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/linked_list_cycle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Hare & Tortoise Algorithm/linked_list_cycle.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/K-Way Merge/kth_smallest_number_in_m_sorted_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/K-Way Merge/kth_smallest_number_in_m_sorted_lists.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/K-Way Merge/merge_k_sorted_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/K-Way Merge/merge_k_sorted_lists.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/K-Way Merge/merge_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/K-Way Merge/merge_sorted_array.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Merge Intervals/insert_interval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Merge Intervals/insert_interval.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Merge Intervals/interval_list_intersections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Merge Intervals/interval_list_intersections.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Merge Intervals/merge_overlapping_Intervals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Merge Intervals/merge_overlapping_Intervals.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/find_all_anagrams_in_a_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/find_all_anagrams_in_a_string.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/fruits_into_baskets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/fruits_into_baskets.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/longest_substring_with_at_most_k_distinct_characters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/longest_substring_with_at_most_k_distinct_characters.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/longest_substring_without_repeating_characters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/longest_substring_without_repeating_characters.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/maximum_sum_subarray_of_size_k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/maximum_sum_subarray_of_size_k.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/permutation_in_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/permutation_in_string.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Sliding Window/smallest_subarray_with_a_given_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Sliding Window/smallest_subarray_with_a_given_sum.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Subsets/letter_case_permutation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Subsets/letter_case_permutation.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Subsets/permutations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Subsets/permutations.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Subsets/subsets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Subsets/subsets.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Subsets/subsets_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Subsets/subsets_two.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/connect_ropes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/connect_ropes.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/k_closest_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/k_closest_numbers.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/k_closest_points_to_the_origin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/k_closest_points_to_the_origin.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/kth_largest_number_in_a_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/kth_largest_number_in_a_stream.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/sort_k_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/sort_k_sorted_array.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/top_k_frequent_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/top_k_frequent_numbers.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Top 'K' Elements/top_k_numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Top 'K' Elements/top_k_numbers.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Topological Sort/course_schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Topological Sort/course_schedule.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Topological Sort/course_schedule_two.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Topological Sort/course_schedule_two.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Topological Sort/topological_sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Topological Sort/topological_sort.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Heaps/continuous_median.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Heaps/continuous_median.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/best_time_to_buy_and_sell_stock.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/best_time_to_buy_and_sell_stock.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/candy_crush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/candy_crush.png -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/candy_crush.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/candy_crush.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/container_with_most_water.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/container_with_most_water.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/dutch_national_flag_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/dutch_national_flag_problem.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/four_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/four_sum.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/move_element_to_end.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/move_element_to_end.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/move_zeroes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/move_zeroes.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/pairs_with_specific_difference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/pairs_with_specific_difference.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/remove_duplicates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/remove_duplicates.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/smallest_difference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/smallest_difference.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/squaring_a_sorted_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/squaring_a_sorted_array.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/subarrays_with_product_less_than_a_target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/subarrays_with_product_less_than_a_target.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/three_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/three_sum.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/two_sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/two_sum.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/Two Pointers/validate_subsequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/Two Pointers/validate_subsequence.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/_Other/Kadane's Algorithm/maximum_subarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/_Other/Kadane's Algorithm/maximum_subarray.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/_Other/Parenthesis/longest_balanced_parenthesis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/_Other/Parenthesis/longest_balanced_parenthesis.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/_Other/Parenthesis/minimum_add_to_make_parentheses_valid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/_Other/Parenthesis/minimum_add_to_make_parentheses_valid.py -------------------------------------------------------------------------------- /solutions/_Patterns for Coding Questions/_Other/_levenshtein_distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/_Patterns for Coding Questions/_Other/_levenshtein_distance.py -------------------------------------------------------------------------------- /solutions/big-o-cheatsheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/big-o-cheatsheet.pdf -------------------------------------------------------------------------------- /solutions/remove-all-easymedium-questions-from-leetcode-company-problems-page-after-sorting-by-frequency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paulonteri/data-structures-and-algorithms/HEAD/solutions/remove-all-easymedium-questions-from-leetcode-company-problems-page-after-sorting-by-frequency.js --------------------------------------------------------------------------------