├── .gitignore ├── .vscode ├── .easycpp ├── c_cpp_properties.json ├── launch.json ├── settings.json └── tasks.json ├── LICENSE ├── c └── algorithms │ └── others │ └── is-string-balanced │ └── main.c ├── clojure ├── algorithms │ └── others │ │ ├── church-encoding │ │ └── main.clj │ │ ├── climb-stairs-fev-7-2024 │ │ └── main.clj │ │ ├── climb-stairs-jan-19-2024 │ │ └── main.clj │ │ ├── contains-duplicate-jan-14-2024 │ │ └── main.clj │ │ ├── count-days-without-meetings-mar-25-2025 │ │ └── main.clj │ │ ├── defanging-ip-address │ │ └── main.clj │ │ ├── divide-array-into-equal-pairs-mar-20-2025 │ │ └── main.clj │ │ ├── duplicate-emails-mar-20-2025 │ │ └── main.clj │ │ ├── factorial │ │ └── main.clj │ │ ├── fib-1d-dynamic-programming │ │ └── main.clj │ │ ├── fib-jan-17-2024 │ │ └── main.clj │ │ ├── fibonacci-fev-9-2024 │ │ └── main.clj │ │ ├── fibonacci │ │ └── main.clj │ │ ├── fizzbuzz │ │ └── main.clj │ │ ├── group-anagrams-jan-14-2024 │ │ └── main.clj │ │ ├── house-robber-fev-8-2024 │ │ └── main.clj │ │ ├── house-robber-jan-24-2024 │ │ └── main.clj │ │ ├── is-anagram-jan-14-2024 │ │ └── main.clj │ │ ├── is-string-balanced │ │ └── main.clj │ │ ├── length-of-last-word-mar-20-2025 │ │ └── main.clj │ │ ├── merge-sorted-array-mar-21-2025 │ │ └── main.clj │ │ ├── merge-strings-alternately-mar-20-2025 │ │ └── main.clj │ │ ├── palindrome-number-mar-23-2025 │ │ ├── apply-mar-23-2025 │ │ │ └── main.clj │ │ └── main.clj │ │ ├── partition-equal-subset-sum-april-8-2024 │ │ └── main.clj │ │ ├── quicksort │ │ └── main.clj │ │ ├── two-sum-jan-14-2024 │ │ └── main.clj │ │ └── two-sum │ │ └── main.clj └── data-structures │ └── skip-list.clj ├── cpp ├── data_structures │ ├── abstract │ │ ├── Date.hpp │ │ ├── Queue.hpp │ │ └── Stack.hpp │ ├── arrays │ │ ├── DynamicArray.hpp │ │ ├── Matrix.hpp │ │ └── StaticArray.hpp │ ├── hash │ │ └── HashTable.hpp │ ├── heaps │ │ ├── MaxHeap.hpp │ │ └── MinHeap.hpp │ ├── lists │ │ ├── CircularDoubleLinkedList.hpp │ │ ├── DoubleLinkedList.hpp │ │ └── LinkedList.hpp │ ├── main.cpp │ ├── trees │ │ ├── AVLBinarySearchTreeTree.hpp │ │ ├── BTree.hpp │ │ ├── BinarySearchTree.hpp │ │ ├── HuffmanTree.hpp │ │ └── QuadTree.hpp │ └── utils │ │ ├── BinarySearch.hpp │ │ ├── Print.hpp │ │ ├── Quicksort.hpp │ │ ├── RawArrayCopy.hpp │ │ └── Swap.hpp └── others │ ├── huffmanencoder │ ├── src │ │ ├── console │ │ │ └── Console.hpp │ │ ├── hash │ │ │ ├── HashTable.hpp │ │ │ └── functions │ │ │ │ ├── JenkinsOneAtATimeHash.hpp │ │ │ │ ├── MurmurOAAT64.hpp │ │ │ │ └── NaiveHash.hpp │ │ ├── huffman │ │ │ └── Huffman.hpp │ │ ├── main.cpp │ │ └── utils │ │ │ ├── Quicksort.hpp │ │ │ ├── ReadFile.hpp │ │ │ └── Split.hpp │ └── text.txt │ └── who-knows │ └── main.js ├── csharp ├── algorithms │ ├── dynamic │ │ ├── fibonacci │ │ │ └── main.cs │ │ ├── min-coin-change │ │ │ └── main.cs │ │ └── word-break │ │ │ └── main.cs │ ├── others │ │ ├── balanced-string │ │ │ └── main.cs │ │ ├── minimum-coin-change │ │ │ └── main.cs │ │ └── twosum │ │ │ └── main.cs │ └── search │ │ └── binarysearch │ │ └── main.cs └── data_structures │ └── lists │ ├── DoubleLinkedList.cs │ └── LinkedList.cs ├── dart ├── .gitignore ├── CHANGELOG.md ├── README.md ├── analysis_options.yaml ├── lib │ ├── core │ │ └── types.dart │ └── data_structures │ │ ├── cons_list.dart │ │ ├── linked_list.dart │ │ └── maybe.dart ├── pubspec.lock ├── pubspec.yaml └── test │ └── data_structures │ ├── cons_list_test.dart │ ├── linked_list_test.dart │ └── maybe_test.dart ├── elixir └── algorithms │ └── others │ ├── count-content-children │ └── main.ex │ ├── count_binary_substrings │ └── lib.ex │ ├── find-numbers │ └── main.ex │ ├── is-anagram-2 │ └── lib.ex │ └── is-anagram │ └── lib.ex ├── fsharp └── data_structures │ ├── association_list │ ├── AssociationList.fs │ └── Program.fs │ └── red_black_tree │ └── RedBlackTree.fs ├── golang ├── algorithms │ ├── graphs │ │ ├── a_star.go │ │ ├── dijkstra.go │ │ └── welshpowell │ │ │ ├── welsh_powell.go │ │ │ └── welsh_powell_test.go │ └── others │ │ ├── application-pairs │ │ └── main.go │ │ ├── calculate_monthly_fee │ │ └── main.go │ │ ├── can-reach-end-of-array │ │ └── main.go │ │ ├── character_reprogramming │ │ ├── main.go │ │ └── main_test.go │ │ ├── contains-duplicate │ │ └── main.go │ │ ├── contains_duplicate_2 │ │ ├── main.go │ │ └── main_test.go │ │ ├── count_sub_islands │ │ ├── main.go │ │ └── main_test.go │ │ ├── counting_bits │ │ └── main.go │ │ ├── daily_temperatures │ │ ├── main.go │ │ └── main_test.go │ │ ├── deepest-leaves-sum │ │ └── main.go │ │ ├── does-lists-intersect │ │ └── main.go │ │ ├── find-if-linked-list-has-cycle │ │ └── main.go │ │ ├── find-nth-linkedlist-element-from-end │ │ └── main.go │ │ ├── find_all_anagrams_in_a_string │ │ ├── main.go │ │ └── main_test.go │ │ ├── find_bottom_left_tree_value │ │ ├── main.go │ │ └── main_test.go │ │ ├── find_the_duplicate_number │ │ ├── main.go │ │ └── main_test.go │ │ ├── first-duplicate │ │ └── main.go │ │ ├── first-non-repeating-char │ │ └── main.go │ │ ├── first-unique-character-in-a-string │ │ └── main.go │ │ ├── generate-patentheses │ │ └── main.go │ │ ├── generate_parentheses_nov_6_2024 │ │ └── main.rs │ │ ├── is-valid-bst │ │ └── main.go │ │ ├── last-stone-weight │ │ └── main.go │ │ ├── linked_list_cycle │ │ ├── main.go │ │ └── main_test.go │ │ ├── lowest_common_ancestor_of_a_binary_tree │ │ └── main.rs │ │ ├── m_1 │ │ └── main.go │ │ ├── max_area_of_island │ │ ├── main.go │ │ └── main_test.go │ │ ├── maximum_depth_of_binary_tree │ │ ├── main.go │ │ └── main_test.go │ │ ├── maximum_number_of_removable_characters │ │ ├── main.go │ │ └── main_test.go │ │ ├── maximum_subarray │ │ ├── main.go │ │ └── main_test.go │ │ ├── merge_triplets_to_form_target_triplet │ │ ├── main.go │ │ └── main_test.go │ │ ├── min-domino-swaps │ │ └── main.go │ │ ├── min_cost_to_connect_all_points │ │ ├── main.go │ │ └── main_test.go │ │ ├── minimum_operations_to_make_array_sum_divisible_by_k │ │ ├── main.go │ │ └── main_test.go │ │ ├── monotonic_array │ │ ├── main.go │ │ └── main_test.go │ │ ├── number_of_1_bits │ │ ├── main.go │ │ └── main_test.go │ │ ├── number_of_connected_components_in_undirected_graph │ │ ├── main.go │ │ └── main_test.go │ │ ├── pairs_nov_6_2024 │ │ └── main.rs │ │ ├── partition_equal_subset_sum │ │ └── main.go │ │ ├── partition_linked_list │ │ └── main.go │ │ ├── plus-one │ │ └── main.go │ │ ├── process_tasks_using_servers │ │ ├── main.go │ │ └── main_test.go │ │ ├── product_names │ │ ├── main.go │ │ └── main_test.go │ │ ├── range-sum-of-bst │ │ └── main.go │ │ ├── remove_duplicates_from_sorted_list │ │ ├── main.go │ │ └── main_test.go │ │ ├── remove_islands │ │ ├── main.go │ │ └── main_test.go │ │ ├── remove_linked_list_duplicates │ │ ├── main.go │ │ └── main_test.go │ │ ├── right-side-view │ │ └── main.go │ │ ├── run_length_encoding │ │ ├── main.go │ │ └── main_test.go │ │ ├── search_2d_matrix │ │ ├── main.go │ │ └── main_test.go │ │ ├── smallest_number_with_all_set_bits │ │ └── main.go │ │ ├── symmetric-tree │ │ └── main.go │ │ ├── trim_a_binary_search_tree │ │ ├── main.go │ │ └── main_test.go │ │ ├── two-sum │ │ └── main.go │ │ ├── vehicle_routing │ │ └── main.go │ │ ├── word_search │ │ ├── main.go │ │ └── main_test.go │ │ └── word_search_2 │ │ ├── main.go │ │ └── main_test.go └── data_structures │ ├── binary_heap_nov_6_2024 │ └── main.rs │ ├── binary_search_tree │ ├── main.go │ └── main_test.go │ ├── concurrency_safe_lru_cache │ ├── main.go │ └── main_test.go │ ├── lists │ └── LinkedList │ │ ├── LinkedList.go │ │ └── LinkedList_test.go │ ├── lru_cache │ ├── main.go │ └── main_test.go │ ├── min_stack │ ├── main.go │ └── main_test.go │ └── trie │ ├── main.go │ └── main_test.go ├── haskell ├── algorithms │ └── graphs │ │ ├── calculate_tree_height │ │ └── main.hs │ │ └── sum_tree_leafs │ │ └── main.hs └── playground │ ├── 072820201019PM.hs │ └── 202009271232PM.hs ├── java ├── Main.java └── data_structures │ ├── abstracts │ ├── NaivePriorityQueue │ │ └── NaivePriorityQueue.java │ ├── Queue │ │ └── Queue.java │ └── Stack │ │ └── Stack.java │ └── lists │ ├── DoubleLinkedList │ └── DoubleLinkedList.java │ └── LinkedList │ └── LinkedList.java ├── javascript ├── algorithms │ └── others │ │ ├── inverse-binary-tree │ │ └── main.js │ │ ├── longest-consecutive-sequence │ │ └── main.js │ │ ├── reverse-linked-list │ │ └── main.js │ │ └── subtree-of-another-tree │ │ └── main.js └── playground │ ├── 07262020.js │ ├── 072620201109PM.js │ ├── 07262020720PM.js │ ├── 07262020954PM.js │ ├── 7_25_2020.js │ └── scotland.js ├── ocaml ├── amount_of_time_for_binary_tree_to_be_infected │ └── main.ml ├── contains_duplicate_dec_08_2023 │ └── main.ml ├── data_structures │ └── hash_set_dec_08_2023 │ │ ├── .ocamlformat │ │ ├── dune │ │ ├── dune-project │ │ ├── hashset.ml │ │ ├── hashset.mli │ │ └── main.ml ├── group_anagrams_dec_08_2023 │ └── main.ml ├── is_anagram_dec_08_2023 │ └── main.ml ├── ocaml_top_k_frequent_numbers_dec_08_2023 │ └── main.ml ├── product_except_self_dec_08_2023 │ └── main.ml ├── transpose_matrix_dec_10_2023 │ └── main.ml ├── two_sum_dec_08_2023 │ └── main.ml └── valid_sudoku_dec_08_2023 │ └── main.ml ├── php └── data_structures │ ├── abstracts │ ├── NaivePriorityQueue.php │ ├── Queue.php │ ├── Stack.php │ └── Stream.php │ ├── lists │ └── LinkedList.php │ ├── tests │ ├── BinarySearchTreeTest.php │ ├── LinkedListTest.php │ ├── NaivePriorityQueueTest.php │ ├── QueueTest.php │ ├── StackTest.php │ └── StreamTest.php │ └── trees │ └── BinarySearchTree.php ├── rust ├── algorithms │ ├── blind_75 │ │ ├── best_time_to_buy_and_sell_stock.rs │ │ ├── container_with_most_water.rs │ │ ├── contains_duplicate.rs │ │ ├── encode_and_decode_strings.rs │ │ ├── is_anagram.rs │ │ ├── longest_consecutive_sequence.rs │ │ ├── product_of_array_except_self.rs │ │ ├── three_sum.rs │ │ ├── top_k_frequent_elements.rs │ │ ├── two_sum.rs │ │ ├── two_sum_2.rs │ │ └── valid_palindrome.rs │ ├── graphs │ │ ├── adjency_list_to_rooted_tree │ │ │ └── lib.rs │ │ ├── breadth_first_search │ │ │ └── lib.rs │ │ ├── calculate_tree_depth │ │ │ └── lib.rs │ │ ├── count_steps_to_reach_maze_exit │ │ │ └── lib.rs │ │ ├── depth_first_search │ │ │ └── lib.rs │ │ ├── dsatur_coloring │ │ │ └── main.rs │ │ ├── floyd_warshall │ │ │ └── main.rs │ │ ├── greedy_coloring │ │ │ └── main.rs │ │ ├── is_bipartite │ │ │ └── main.rs │ │ ├── is_undirected_graph_connected_bfs │ │ │ └── lib.rs │ │ ├── is_undirected_graph_connected_iterative_dfs │ │ │ └── lib.rs │ │ ├── is_undirected_graph_connected_recursive_dfs │ │ │ └── lib.rs │ │ ├── naive_path_between_two_nodes │ │ │ └── lib.rs │ │ ├── naive_prim_minimum_spanning_tree │ │ │ └── lib.rs │ │ ├── naive_prim_minimum_spanning_tree2 │ │ │ └── lib.rs │ │ ├── possible_bipartition │ │ │ └── main.rs │ │ ├── priority_queue_prim_minimum_spanning_tree │ │ │ └── lib.rs │ │ ├── sum_tree_leafs │ │ │ └── lib.rs │ │ └── welsh_powell_coloring │ │ │ └── main.rs │ └── others │ │ ├── 132_pattern │ │ └── main.rs │ │ ├── binary_search │ │ └── main.rs │ │ ├── binary_tree_inorder_traversal │ │ └── main.rs │ │ ├── binary_tree_right_side_view_nov_5_2024 │ │ └── main.rs │ │ ├── binary_tree_traversals │ │ └── main.rs │ │ ├── climbing_stairs │ │ └── main.rs │ │ ├── compress_string │ │ └── main.rs │ │ ├── contains_duplicate │ │ └── main.rs │ │ ├── contains_duplicate_dec_01_2023 │ │ └── main.rs │ │ ├── count_bits │ │ └── main.rs │ │ ├── count_pairs_in_distinct_integer_array │ │ └── main.rs │ │ ├── daily_trips │ │ └── main.rs │ │ ├── delete_and_earn │ │ └── main.rs │ │ ├── divide_array_into_equal_pairs │ │ └── main.rs │ │ ├── divisor_game │ │ └── main.rs │ │ ├── eliminating_ballons │ │ └── main.rs │ │ ├── encode_and_decode_strings │ │ └── main.rs │ │ ├── evaluate_reverse_polish_notation │ │ └── main.rs │ │ ├── fibonacci │ │ └── main.rs │ │ ├── fibonacci_number_jan_25_2024 │ │ └── main.rs │ │ ├── find-numbers │ │ └── main.rs │ │ ├── find_all_numbers_disappeared_in_an_array │ │ └── main.rs │ │ ├── find_missing_and_repeated_values │ │ └── main.rs │ │ ├── find_pivot_index │ │ └── main.rs │ │ ├── finding_maximal_non_trivial_monotones │ │ └── main.rs │ │ ├── first-non-duplicate-char │ │ └── main.rs │ │ ├── group_anagrams │ │ └── main.rs │ │ ├── group_anagrams_dec_05_2023 │ │ └── main.rs │ │ ├── h-index │ │ └── main.rs │ │ ├── house_robber_jan_24_2024 │ │ └── main.rs │ │ ├── house_rubber │ │ └── main.rs │ │ ├── implement_stack_using_queues │ │ └── main.rs │ │ ├── insertion_sort_april_30_2024 │ │ └── main.rs │ │ ├── intercepting_information │ │ └── main.rs │ │ ├── is_anagram_dec_05_2023 │ │ └── main.rs │ │ ├── is_permutation_of_a_palindrome │ │ └── main.rs │ │ ├── is_permutation_using_array │ │ └── main.rs │ │ ├── kth_largest_element_in_an_array │ │ └── main.rs │ │ ├── kth_largest_element_in_array_bounded_heap │ │ └── main.rs │ │ ├── kth_largest_element_nov_5_2024 │ │ └── main.rs │ │ ├── kth_to_last │ │ └── main.rs │ │ ├── longest_consecutive_sequence │ │ └── main.rs │ │ ├── longest_happy_string │ │ └── main.rs │ │ ├── longest_increasing_path_in_a_matrix │ │ └── main.rs │ │ ├── longest_increasing_sub_sequence_fev_4_2024 │ │ └── main.rs │ │ ├── majority_number │ │ └── main.rs │ │ ├── matchsticks_to_square │ │ └── main.rs │ │ ├── matrix_addition │ │ └── main.rs │ │ ├── matrix_multiply │ │ └── main.rs │ │ ├── matrix_scalar_addition │ │ └── main.rs │ │ ├── matrix_scalar_multiply │ │ └── main.rs │ │ ├── matrix_transpose │ │ └── main.rs │ │ ├── max-sub-array-sum │ │ └── main.rs │ │ ├── max_alternating_sub_sequence_jan_26_2024 │ │ └── main.rs │ │ ├── maximum_number_of_balloons │ │ └── main.rs │ │ ├── merge_sort_april_30_2024 │ │ └── main.rs │ │ ├── merge_sorted_array │ │ └── main.rs │ │ ├── min-domino-swaps │ │ └── main.rs │ │ ├── minimum_domino_rotations_for_equal_row │ │ └── main.rs │ │ ├── minimum_size_subarray_sum │ │ └── main.rs │ │ ├── move_zeroes │ │ └── main.rs │ │ ├── one_away │ │ └── main.rs │ │ ├── online_stock_span │ │ └── main.rs │ │ ├── open_the_lock │ │ └── main.rs │ │ ├── path_sum │ │ └── main.rs │ │ ├── permutation_in_string │ │ └── main.rs │ │ ├── product_except_self_dec_06_2023 │ │ └── main.rs │ │ ├── product_of_array_except_self │ │ └── main.rs │ │ ├── reconstruct_itenerary │ │ └── main.rs │ │ ├── remove-element │ │ └── main.rs │ │ ├── remove_duplicates_from_linked_list │ │ └── main.rs │ │ ├── remove_node_from_linked_list │ │ └── main.rs │ │ ├── reorganize_string │ │ └── main.rs │ │ ├── repeated_dna_sequences │ │ └── main.rs │ │ ├── reverse-linked-list │ │ └── main.rs │ │ ├── richest-customer-wealth │ │ └── main.rs │ │ ├── rotting_oranges │ │ └── main.rs │ │ ├── single_number │ │ └── main.rs │ │ ├── smaller_string_permutations_in_bigger_string │ │ └── main.rs │ │ ├── snakes_and_ladders │ │ └── main.rs │ │ ├── split_iterator │ │ └── main.rs │ │ ├── squares_of_a_sorted_array │ │ └── main.rs │ │ ├── string_has_unique_characters_with_bitflags │ │ └── main.rs │ │ ├── string_to_int │ │ └── main.rs │ │ ├── subsets │ │ └── main.rs │ │ ├── subsets_2 │ │ └── main.rs │ │ ├── task_scheduler │ │ └── main.rs │ │ ├── top_k_frequent_elements │ │ └── main.rs │ │ ├── top_k_frequent_elements_dec_06_2023 │ │ └── main.rs │ │ ├── two_city_scheduling │ │ └── main.rs │ │ ├── two_sum │ │ └── main.rs │ │ ├── two_sum_2 │ │ └── main.rs │ │ ├── two_sum_dec_05_2023 │ │ └── main.rs │ │ ├── urlify │ │ └── main.rs │ │ ├── valid_anagram │ │ └── main.rs │ │ ├── valid_palindrome │ │ └── lib.rs │ │ ├── valid_perfect_square │ │ └── main.rs │ │ ├── valid_sudoku │ │ └── main.rs │ │ ├── wiggle_sort │ │ └── main.rs │ │ └── word_pattern │ │ └── main.rs └── data_structures │ ├── animal_shelter │ └── main.rs │ ├── btree │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ ├── proptest-regressions │ │ └── lib.txt │ └── src │ │ └── lib.rs │ ├── min_stack │ └── main.rs │ ├── ring_buffer │ └── main.rs │ ├── stack_of_plates │ └── main.rs │ └── trie │ └── main.rs ├── scala └── algorithms │ ├── graphs │ └── is_undirect_graph_connected_recursive_dfs │ │ └── Main.scala │ ├── others │ ├── church_encoded_booleans.scala │ ├── pipe_operator.scala │ ├── remove_nth_node_from_end_of_list │ │ ├── Main.scala │ │ └── MainSpec.scala │ └── tail_recursive_factorial.scala │ └── sorting │ ├── naive_quicksort.scala │ └── quicksort.scala ├── typescript ├── algorithms │ ├── others │ │ ├── balanced-string-slit │ │ │ └── main.ts │ │ ├── compose-ranges │ │ │ └── main.ts │ │ ├── contains-close-numbers │ │ │ └── main.ts │ │ ├── find-content-children │ │ │ └── main.ts │ │ ├── find-node-that-intersects-linked-list │ │ │ └── main.ts │ │ ├── first-duplicate │ │ │ └── main.ts │ │ ├── first-non-repeating-character │ │ │ └── main.ts │ │ ├── first-unique-character-in-a-string │ │ │ └── main.ts │ │ ├── longest-subarray-by-sum │ │ │ └── main.ts │ │ ├── max-subarray-sum │ │ │ └── main.ts │ │ ├── maximum-nesting-depth-of-the-parentheses │ │ │ └── main.ts │ │ ├── min-domino-rotations │ │ │ └── main.ts │ │ ├── min-remove-to-make-valid-parens │ │ │ └── main.ts │ │ ├── move-elements-according-to-k │ │ │ └── main.ts │ │ ├── product-of-array-except-self │ │ │ └── main.ts │ │ ├── reverse-linked-list │ │ │ └── main.ts │ │ ├── reverse-only-letters │ │ │ └── main.ts │ │ ├── rotate-image │ │ │ └── main.ts │ │ ├── sorted-square-array │ │ │ └── main.ts │ │ ├── sorting │ │ │ ├── bubblesort │ │ │ │ └── main.ts │ │ │ ├── insertionsort │ │ │ │ └── main.ts │ │ │ ├── mergesort │ │ │ │ └── main.ts │ │ │ ├── quicksort │ │ │ │ └── main.ts │ │ │ ├── selectionsort │ │ │ │ └── main.ts │ │ │ └── std │ │ │ │ └── Std.lib.ts │ │ ├── spiral-order │ │ │ └── main.ts │ │ └── sum-of-two │ │ │ └── main.ts │ └── search │ │ ├── binary-search-iterative │ │ ├── .editorconfig │ │ ├── .eslintrc.json │ │ ├── .prettierrc │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── src │ │ │ └── main.ts │ │ ├── tsconfig.json │ │ └── yarn.lock │ │ ├── binary-search-recursive │ │ ├── package.json │ │ ├── src │ │ │ └── main.ts │ │ ├── tsconfig.json │ │ └── yarn.lock │ │ ├── breadth-first │ │ ├── BinarySearchTree.ts │ │ └── main.ts │ │ ├── depth-first │ │ ├── BinarySearchTree.ts │ │ └── main.ts │ │ ├── linear-search │ │ └── main.ts │ │ └── ordered-linear-search │ │ └── main.ts ├── data_structures │ ├── lists │ │ └── LinkedList.ts │ ├── trees │ │ ├── BinarySearchTree.ts │ │ ├── FamilyTree.ts │ │ └── Trie.ts │ └── typings │ │ ├── maybe.d.ts │ │ └── predicate.d.ts └── playground │ └── monoid.ts └── zig ├── algorithms └── two-sum │ └── main.zig └── data-structures └── binary-search-tree └── main.zig /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/.easycpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/.vscode/.easycpp -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/LICENSE -------------------------------------------------------------------------------- /c/algorithms/others/is-string-balanced/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/c/algorithms/others/is-string-balanced/main.c -------------------------------------------------------------------------------- /clojure/algorithms/others/church-encoding/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/church-encoding/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/climb-stairs-fev-7-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/climb-stairs-fev-7-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/climb-stairs-jan-19-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/climb-stairs-jan-19-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/contains-duplicate-jan-14-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/contains-duplicate-jan-14-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/count-days-without-meetings-mar-25-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/count-days-without-meetings-mar-25-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/defanging-ip-address/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/defanging-ip-address/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/divide-array-into-equal-pairs-mar-20-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/divide-array-into-equal-pairs-mar-20-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/duplicate-emails-mar-20-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/duplicate-emails-mar-20-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/factorial/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/factorial/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/fib-1d-dynamic-programming/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/fib-1d-dynamic-programming/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/fib-jan-17-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/fib-jan-17-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/fibonacci-fev-9-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/fibonacci-fev-9-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/fibonacci/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/fibonacci/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/fizzbuzz/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/fizzbuzz/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/group-anagrams-jan-14-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/group-anagrams-jan-14-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/house-robber-fev-8-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/house-robber-fev-8-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/house-robber-jan-24-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/house-robber-jan-24-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/is-anagram-jan-14-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/is-anagram-jan-14-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/is-string-balanced/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/is-string-balanced/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/length-of-last-word-mar-20-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/length-of-last-word-mar-20-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/merge-sorted-array-mar-21-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/merge-sorted-array-mar-21-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/merge-strings-alternately-mar-20-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/merge-strings-alternately-mar-20-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/palindrome-number-mar-23-2025/apply-mar-23-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/palindrome-number-mar-23-2025/apply-mar-23-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/palindrome-number-mar-23-2025/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/palindrome-number-mar-23-2025/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/partition-equal-subset-sum-april-8-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/partition-equal-subset-sum-april-8-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/quicksort/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/quicksort/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/two-sum-jan-14-2024/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/two-sum-jan-14-2024/main.clj -------------------------------------------------------------------------------- /clojure/algorithms/others/two-sum/main.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/algorithms/others/two-sum/main.clj -------------------------------------------------------------------------------- /clojure/data-structures/skip-list.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/clojure/data-structures/skip-list.clj -------------------------------------------------------------------------------- /cpp/data_structures/abstract/Date.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/abstract/Date.hpp -------------------------------------------------------------------------------- /cpp/data_structures/abstract/Queue.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/abstract/Queue.hpp -------------------------------------------------------------------------------- /cpp/data_structures/abstract/Stack.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/abstract/Stack.hpp -------------------------------------------------------------------------------- /cpp/data_structures/arrays/DynamicArray.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/arrays/DynamicArray.hpp -------------------------------------------------------------------------------- /cpp/data_structures/arrays/Matrix.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/arrays/Matrix.hpp -------------------------------------------------------------------------------- /cpp/data_structures/arrays/StaticArray.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/arrays/StaticArray.hpp -------------------------------------------------------------------------------- /cpp/data_structures/hash/HashTable.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/hash/HashTable.hpp -------------------------------------------------------------------------------- /cpp/data_structures/heaps/MaxHeap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/heaps/MaxHeap.hpp -------------------------------------------------------------------------------- /cpp/data_structures/heaps/MinHeap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/heaps/MinHeap.hpp -------------------------------------------------------------------------------- /cpp/data_structures/lists/CircularDoubleLinkedList.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/lists/CircularDoubleLinkedList.hpp -------------------------------------------------------------------------------- /cpp/data_structures/lists/DoubleLinkedList.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/lists/DoubleLinkedList.hpp -------------------------------------------------------------------------------- /cpp/data_structures/lists/LinkedList.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/lists/LinkedList.hpp -------------------------------------------------------------------------------- /cpp/data_structures/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/main.cpp -------------------------------------------------------------------------------- /cpp/data_structures/trees/AVLBinarySearchTreeTree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/trees/AVLBinarySearchTreeTree.hpp -------------------------------------------------------------------------------- /cpp/data_structures/trees/BTree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/trees/BTree.hpp -------------------------------------------------------------------------------- /cpp/data_structures/trees/BinarySearchTree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/trees/BinarySearchTree.hpp -------------------------------------------------------------------------------- /cpp/data_structures/trees/HuffmanTree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/trees/HuffmanTree.hpp -------------------------------------------------------------------------------- /cpp/data_structures/trees/QuadTree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/trees/QuadTree.hpp -------------------------------------------------------------------------------- /cpp/data_structures/utils/BinarySearch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/utils/BinarySearch.hpp -------------------------------------------------------------------------------- /cpp/data_structures/utils/Print.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/utils/Print.hpp -------------------------------------------------------------------------------- /cpp/data_structures/utils/Quicksort.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/utils/Quicksort.hpp -------------------------------------------------------------------------------- /cpp/data_structures/utils/RawArrayCopy.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/utils/RawArrayCopy.hpp -------------------------------------------------------------------------------- /cpp/data_structures/utils/Swap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/data_structures/utils/Swap.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/console/Console.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/console/Console.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/hash/HashTable.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/hash/HashTable.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/hash/functions/JenkinsOneAtATimeHash.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/hash/functions/JenkinsOneAtATimeHash.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/hash/functions/MurmurOAAT64.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/hash/functions/MurmurOAAT64.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/hash/functions/NaiveHash.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/hash/functions/NaiveHash.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/huffman/Huffman.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/huffman/Huffman.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/main.cpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/utils/Quicksort.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/utils/Quicksort.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/utils/ReadFile.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/utils/ReadFile.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/src/utils/Split.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/src/utils/Split.hpp -------------------------------------------------------------------------------- /cpp/others/huffmanencoder/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/huffmanencoder/text.txt -------------------------------------------------------------------------------- /cpp/others/who-knows/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/cpp/others/who-knows/main.js -------------------------------------------------------------------------------- /csharp/algorithms/dynamic/fibonacci/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/dynamic/fibonacci/main.cs -------------------------------------------------------------------------------- /csharp/algorithms/dynamic/min-coin-change/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/dynamic/min-coin-change/main.cs -------------------------------------------------------------------------------- /csharp/algorithms/dynamic/word-break/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/dynamic/word-break/main.cs -------------------------------------------------------------------------------- /csharp/algorithms/others/balanced-string/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/others/balanced-string/main.cs -------------------------------------------------------------------------------- /csharp/algorithms/others/minimum-coin-change/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/others/minimum-coin-change/main.cs -------------------------------------------------------------------------------- /csharp/algorithms/others/twosum/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/others/twosum/main.cs -------------------------------------------------------------------------------- /csharp/algorithms/search/binarysearch/main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/algorithms/search/binarysearch/main.cs -------------------------------------------------------------------------------- /csharp/data_structures/lists/DoubleLinkedList.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/data_structures/lists/DoubleLinkedList.cs -------------------------------------------------------------------------------- /csharp/data_structures/lists/LinkedList.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/csharp/data_structures/lists/LinkedList.cs -------------------------------------------------------------------------------- /dart/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/.gitignore -------------------------------------------------------------------------------- /dart/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 1.0.0 2 | 3 | - Initial version, created by Stagehand 4 | -------------------------------------------------------------------------------- /dart/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/README.md -------------------------------------------------------------------------------- /dart/analysis_options.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/analysis_options.yaml -------------------------------------------------------------------------------- /dart/lib/core/types.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/lib/core/types.dart -------------------------------------------------------------------------------- /dart/lib/data_structures/cons_list.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/lib/data_structures/cons_list.dart -------------------------------------------------------------------------------- /dart/lib/data_structures/linked_list.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/lib/data_structures/linked_list.dart -------------------------------------------------------------------------------- /dart/lib/data_structures/maybe.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/lib/data_structures/maybe.dart -------------------------------------------------------------------------------- /dart/pubspec.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/pubspec.lock -------------------------------------------------------------------------------- /dart/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/pubspec.yaml -------------------------------------------------------------------------------- /dart/test/data_structures/cons_list_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/test/data_structures/cons_list_test.dart -------------------------------------------------------------------------------- /dart/test/data_structures/linked_list_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/test/data_structures/linked_list_test.dart -------------------------------------------------------------------------------- /dart/test/data_structures/maybe_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/dart/test/data_structures/maybe_test.dart -------------------------------------------------------------------------------- /elixir/algorithms/others/count-content-children/main.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/elixir/algorithms/others/count-content-children/main.ex -------------------------------------------------------------------------------- /elixir/algorithms/others/count_binary_substrings/lib.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/elixir/algorithms/others/count_binary_substrings/lib.ex -------------------------------------------------------------------------------- /elixir/algorithms/others/find-numbers/main.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/elixir/algorithms/others/find-numbers/main.ex -------------------------------------------------------------------------------- /elixir/algorithms/others/is-anagram-2/lib.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/elixir/algorithms/others/is-anagram-2/lib.ex -------------------------------------------------------------------------------- /elixir/algorithms/others/is-anagram/lib.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/elixir/algorithms/others/is-anagram/lib.ex -------------------------------------------------------------------------------- /fsharp/data_structures/association_list/AssociationList.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/fsharp/data_structures/association_list/AssociationList.fs -------------------------------------------------------------------------------- /fsharp/data_structures/association_list/Program.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/fsharp/data_structures/association_list/Program.fs -------------------------------------------------------------------------------- /fsharp/data_structures/red_black_tree/RedBlackTree.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/fsharp/data_structures/red_black_tree/RedBlackTree.fs -------------------------------------------------------------------------------- /golang/algorithms/graphs/a_star.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/graphs/a_star.go -------------------------------------------------------------------------------- /golang/algorithms/graphs/dijkstra.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/graphs/dijkstra.go -------------------------------------------------------------------------------- /golang/algorithms/graphs/welshpowell/welsh_powell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/graphs/welshpowell/welsh_powell.go -------------------------------------------------------------------------------- /golang/algorithms/graphs/welshpowell/welsh_powell_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/graphs/welshpowell/welsh_powell_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/application-pairs/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/application-pairs/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/calculate_monthly_fee/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/calculate_monthly_fee/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/can-reach-end-of-array/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/can-reach-end-of-array/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/character_reprogramming/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/character_reprogramming/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/character_reprogramming/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/character_reprogramming/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/contains-duplicate/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/contains-duplicate/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/contains_duplicate_2/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/contains_duplicate_2/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/contains_duplicate_2/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/contains_duplicate_2/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/count_sub_islands/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/count_sub_islands/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/count_sub_islands/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/count_sub_islands/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/counting_bits/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/counting_bits/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/daily_temperatures/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/daily_temperatures/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/daily_temperatures/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/daily_temperatures/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/deepest-leaves-sum/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/deepest-leaves-sum/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/does-lists-intersect/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/does-lists-intersect/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/find-if-linked-list-has-cycle/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find-if-linked-list-has-cycle/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/find-nth-linkedlist-element-from-end/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find-nth-linkedlist-element-from-end/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/find_all_anagrams_in_a_string/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find_all_anagrams_in_a_string/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/find_all_anagrams_in_a_string/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find_all_anagrams_in_a_string/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/find_bottom_left_tree_value/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find_bottom_left_tree_value/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/find_bottom_left_tree_value/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find_bottom_left_tree_value/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/find_the_duplicate_number/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find_the_duplicate_number/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/find_the_duplicate_number/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/find_the_duplicate_number/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/first-duplicate/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/first-duplicate/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/first-non-repeating-char/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/first-non-repeating-char/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/first-unique-character-in-a-string/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/first-unique-character-in-a-string/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/generate-patentheses/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/generate-patentheses/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/generate_parentheses_nov_6_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/generate_parentheses_nov_6_2024/main.rs -------------------------------------------------------------------------------- /golang/algorithms/others/is-valid-bst/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/is-valid-bst/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/last-stone-weight/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/last-stone-weight/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/linked_list_cycle/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/linked_list_cycle/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/linked_list_cycle/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/linked_list_cycle/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/lowest_common_ancestor_of_a_binary_tree/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/lowest_common_ancestor_of_a_binary_tree/main.rs -------------------------------------------------------------------------------- /golang/algorithms/others/m_1/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/m_1/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/max_area_of_island/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/max_area_of_island/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/max_area_of_island/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/max_area_of_island/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/maximum_depth_of_binary_tree/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/maximum_depth_of_binary_tree/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/maximum_depth_of_binary_tree/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/maximum_depth_of_binary_tree/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/maximum_number_of_removable_characters/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/maximum_number_of_removable_characters/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/maximum_number_of_removable_characters/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/maximum_number_of_removable_characters/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/maximum_subarray/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/maximum_subarray/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/maximum_subarray/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/maximum_subarray/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/merge_triplets_to_form_target_triplet/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/merge_triplets_to_form_target_triplet/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/merge_triplets_to_form_target_triplet/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/merge_triplets_to_form_target_triplet/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/min-domino-swaps/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/min-domino-swaps/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/min_cost_to_connect_all_points/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/min_cost_to_connect_all_points/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/min_cost_to_connect_all_points/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/min_cost_to_connect_all_points/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/minimum_operations_to_make_array_sum_divisible_by_k/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/minimum_operations_to_make_array_sum_divisible_by_k/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/minimum_operations_to_make_array_sum_divisible_by_k/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/minimum_operations_to_make_array_sum_divisible_by_k/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/monotonic_array/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/monotonic_array/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/monotonic_array/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/monotonic_array/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/number_of_1_bits/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/number_of_1_bits/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/number_of_1_bits/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/number_of_1_bits/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/number_of_connected_components_in_undirected_graph/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/number_of_connected_components_in_undirected_graph/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/number_of_connected_components_in_undirected_graph/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/number_of_connected_components_in_undirected_graph/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/pairs_nov_6_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/pairs_nov_6_2024/main.rs -------------------------------------------------------------------------------- /golang/algorithms/others/partition_equal_subset_sum/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/partition_equal_subset_sum/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/partition_linked_list/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/partition_linked_list/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/plus-one/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/plus-one/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/process_tasks_using_servers/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/process_tasks_using_servers/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/process_tasks_using_servers/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/process_tasks_using_servers/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/product_names/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/product_names/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/product_names/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/product_names/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/range-sum-of-bst/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/range-sum-of-bst/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/remove_duplicates_from_sorted_list/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/remove_duplicates_from_sorted_list/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/remove_duplicates_from_sorted_list/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/remove_duplicates_from_sorted_list/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/remove_islands/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/remove_islands/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/remove_islands/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/remove_islands/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/remove_linked_list_duplicates/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/remove_linked_list_duplicates/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/remove_linked_list_duplicates/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/remove_linked_list_duplicates/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/right-side-view/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/right-side-view/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/run_length_encoding/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/run_length_encoding/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/run_length_encoding/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/run_length_encoding/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/search_2d_matrix/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/search_2d_matrix/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/search_2d_matrix/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/search_2d_matrix/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/smallest_number_with_all_set_bits/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/smallest_number_with_all_set_bits/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/symmetric-tree/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/symmetric-tree/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/trim_a_binary_search_tree/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/trim_a_binary_search_tree/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/trim_a_binary_search_tree/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/trim_a_binary_search_tree/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/two-sum/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/two-sum/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/vehicle_routing/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/vehicle_routing/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/word_search/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/word_search/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/word_search/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/word_search/main_test.go -------------------------------------------------------------------------------- /golang/algorithms/others/word_search_2/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/word_search_2/main.go -------------------------------------------------------------------------------- /golang/algorithms/others/word_search_2/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/algorithms/others/word_search_2/main_test.go -------------------------------------------------------------------------------- /golang/data_structures/binary_heap_nov_6_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/binary_heap_nov_6_2024/main.rs -------------------------------------------------------------------------------- /golang/data_structures/binary_search_tree/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/binary_search_tree/main.go -------------------------------------------------------------------------------- /golang/data_structures/binary_search_tree/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/binary_search_tree/main_test.go -------------------------------------------------------------------------------- /golang/data_structures/concurrency_safe_lru_cache/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/concurrency_safe_lru_cache/main.go -------------------------------------------------------------------------------- /golang/data_structures/concurrency_safe_lru_cache/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/concurrency_safe_lru_cache/main_test.go -------------------------------------------------------------------------------- /golang/data_structures/lists/LinkedList/LinkedList.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/lists/LinkedList/LinkedList.go -------------------------------------------------------------------------------- /golang/data_structures/lists/LinkedList/LinkedList_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/lists/LinkedList/LinkedList_test.go -------------------------------------------------------------------------------- /golang/data_structures/lru_cache/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/lru_cache/main.go -------------------------------------------------------------------------------- /golang/data_structures/lru_cache/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/lru_cache/main_test.go -------------------------------------------------------------------------------- /golang/data_structures/min_stack/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/min_stack/main.go -------------------------------------------------------------------------------- /golang/data_structures/min_stack/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/min_stack/main_test.go -------------------------------------------------------------------------------- /golang/data_structures/trie/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/trie/main.go -------------------------------------------------------------------------------- /golang/data_structures/trie/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/golang/data_structures/trie/main_test.go -------------------------------------------------------------------------------- /haskell/algorithms/graphs/calculate_tree_height/main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/haskell/algorithms/graphs/calculate_tree_height/main.hs -------------------------------------------------------------------------------- /haskell/algorithms/graphs/sum_tree_leafs/main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/haskell/algorithms/graphs/sum_tree_leafs/main.hs -------------------------------------------------------------------------------- /haskell/playground/072820201019PM.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/haskell/playground/072820201019PM.hs -------------------------------------------------------------------------------- /haskell/playground/202009271232PM.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/haskell/playground/202009271232PM.hs -------------------------------------------------------------------------------- /java/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/java/Main.java -------------------------------------------------------------------------------- /java/data_structures/abstracts/NaivePriorityQueue/NaivePriorityQueue.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/java/data_structures/abstracts/NaivePriorityQueue/NaivePriorityQueue.java -------------------------------------------------------------------------------- /java/data_structures/abstracts/Queue/Queue.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/java/data_structures/abstracts/Queue/Queue.java -------------------------------------------------------------------------------- /java/data_structures/abstracts/Stack/Stack.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/java/data_structures/abstracts/Stack/Stack.java -------------------------------------------------------------------------------- /java/data_structures/lists/DoubleLinkedList/DoubleLinkedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/java/data_structures/lists/DoubleLinkedList/DoubleLinkedList.java -------------------------------------------------------------------------------- /java/data_structures/lists/LinkedList/LinkedList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/java/data_structures/lists/LinkedList/LinkedList.java -------------------------------------------------------------------------------- /javascript/algorithms/others/inverse-binary-tree/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/algorithms/others/inverse-binary-tree/main.js -------------------------------------------------------------------------------- /javascript/algorithms/others/longest-consecutive-sequence/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/algorithms/others/longest-consecutive-sequence/main.js -------------------------------------------------------------------------------- /javascript/algorithms/others/reverse-linked-list/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/algorithms/others/reverse-linked-list/main.js -------------------------------------------------------------------------------- /javascript/algorithms/others/subtree-of-another-tree/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/algorithms/others/subtree-of-another-tree/main.js -------------------------------------------------------------------------------- /javascript/playground/07262020.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/playground/07262020.js -------------------------------------------------------------------------------- /javascript/playground/072620201109PM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/playground/072620201109PM.js -------------------------------------------------------------------------------- /javascript/playground/07262020720PM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/playground/07262020720PM.js -------------------------------------------------------------------------------- /javascript/playground/07262020954PM.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/playground/07262020954PM.js -------------------------------------------------------------------------------- /javascript/playground/7_25_2020.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/playground/7_25_2020.js -------------------------------------------------------------------------------- /javascript/playground/scotland.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/javascript/playground/scotland.js -------------------------------------------------------------------------------- /ocaml/amount_of_time_for_binary_tree_to_be_infected/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/amount_of_time_for_binary_tree_to_be_infected/main.ml -------------------------------------------------------------------------------- /ocaml/contains_duplicate_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/contains_duplicate_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/data_structures/hash_set_dec_08_2023/.ocamlformat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ocaml/data_structures/hash_set_dec_08_2023/dune: -------------------------------------------------------------------------------- 1 | (executable 2 | (name main)) 3 | -------------------------------------------------------------------------------- /ocaml/data_structures/hash_set_dec_08_2023/dune-project: -------------------------------------------------------------------------------- 1 | (lang dune 3.12) 2 | -------------------------------------------------------------------------------- /ocaml/data_structures/hash_set_dec_08_2023/hashset.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/data_structures/hash_set_dec_08_2023/hashset.ml -------------------------------------------------------------------------------- /ocaml/data_structures/hash_set_dec_08_2023/hashset.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/data_structures/hash_set_dec_08_2023/hashset.mli -------------------------------------------------------------------------------- /ocaml/data_structures/hash_set_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/data_structures/hash_set_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/group_anagrams_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/group_anagrams_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/is_anagram_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/is_anagram_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/ocaml_top_k_frequent_numbers_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/ocaml_top_k_frequent_numbers_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/product_except_self_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/product_except_self_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/transpose_matrix_dec_10_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/transpose_matrix_dec_10_2023/main.ml -------------------------------------------------------------------------------- /ocaml/two_sum_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/two_sum_dec_08_2023/main.ml -------------------------------------------------------------------------------- /ocaml/valid_sudoku_dec_08_2023/main.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/ocaml/valid_sudoku_dec_08_2023/main.ml -------------------------------------------------------------------------------- /php/data_structures/abstracts/NaivePriorityQueue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/abstracts/NaivePriorityQueue.php -------------------------------------------------------------------------------- /php/data_structures/abstracts/Queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/abstracts/Queue.php -------------------------------------------------------------------------------- /php/data_structures/abstracts/Stack.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/abstracts/Stack.php -------------------------------------------------------------------------------- /php/data_structures/abstracts/Stream.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/abstracts/Stream.php -------------------------------------------------------------------------------- /php/data_structures/lists/LinkedList.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/lists/LinkedList.php -------------------------------------------------------------------------------- /php/data_structures/tests/BinarySearchTreeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/tests/BinarySearchTreeTest.php -------------------------------------------------------------------------------- /php/data_structures/tests/LinkedListTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/tests/LinkedListTest.php -------------------------------------------------------------------------------- /php/data_structures/tests/NaivePriorityQueueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/tests/NaivePriorityQueueTest.php -------------------------------------------------------------------------------- /php/data_structures/tests/QueueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/tests/QueueTest.php -------------------------------------------------------------------------------- /php/data_structures/tests/StackTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/tests/StackTest.php -------------------------------------------------------------------------------- /php/data_structures/tests/StreamTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/tests/StreamTest.php -------------------------------------------------------------------------------- /php/data_structures/trees/BinarySearchTree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/php/data_structures/trees/BinarySearchTree.php -------------------------------------------------------------------------------- /rust/algorithms/blind_75/best_time_to_buy_and_sell_stock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/best_time_to_buy_and_sell_stock.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/container_with_most_water.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/container_with_most_water.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/contains_duplicate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/contains_duplicate.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/encode_and_decode_strings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/encode_and_decode_strings.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/is_anagram.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/is_anagram.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/longest_consecutive_sequence.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/longest_consecutive_sequence.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/product_of_array_except_self.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/product_of_array_except_self.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/three_sum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/three_sum.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/top_k_frequent_elements.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/top_k_frequent_elements.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/two_sum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/two_sum.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/two_sum_2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/two_sum_2.rs -------------------------------------------------------------------------------- /rust/algorithms/blind_75/valid_palindrome.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/blind_75/valid_palindrome.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/adjency_list_to_rooted_tree/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/adjency_list_to_rooted_tree/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/breadth_first_search/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/breadth_first_search/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/calculate_tree_depth/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/calculate_tree_depth/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/count_steps_to_reach_maze_exit/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/count_steps_to_reach_maze_exit/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/depth_first_search/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/depth_first_search/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/dsatur_coloring/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/dsatur_coloring/main.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/floyd_warshall/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/floyd_warshall/main.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/greedy_coloring/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/greedy_coloring/main.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/is_bipartite/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/is_bipartite/main.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/is_undirected_graph_connected_bfs/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/is_undirected_graph_connected_bfs/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/is_undirected_graph_connected_iterative_dfs/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/is_undirected_graph_connected_iterative_dfs/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/is_undirected_graph_connected_recursive_dfs/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/is_undirected_graph_connected_recursive_dfs/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/naive_path_between_two_nodes/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/naive_path_between_two_nodes/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/naive_prim_minimum_spanning_tree/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/naive_prim_minimum_spanning_tree/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/naive_prim_minimum_spanning_tree2/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/naive_prim_minimum_spanning_tree2/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/possible_bipartition/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/possible_bipartition/main.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/priority_queue_prim_minimum_spanning_tree/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/priority_queue_prim_minimum_spanning_tree/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/sum_tree_leafs/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/sum_tree_leafs/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/graphs/welsh_powell_coloring/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/graphs/welsh_powell_coloring/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/132_pattern/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/132_pattern/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/binary_search/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/binary_search/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/binary_tree_inorder_traversal/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/binary_tree_inorder_traversal/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/binary_tree_right_side_view_nov_5_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/binary_tree_right_side_view_nov_5_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/binary_tree_traversals/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/binary_tree_traversals/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/climbing_stairs/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/climbing_stairs/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/compress_string/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/compress_string/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/contains_duplicate/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/contains_duplicate/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/contains_duplicate_dec_01_2023/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/contains_duplicate_dec_01_2023/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/count_bits/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/count_bits/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/count_pairs_in_distinct_integer_array/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/count_pairs_in_distinct_integer_array/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/daily_trips/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/daily_trips/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/delete_and_earn/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/delete_and_earn/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/divide_array_into_equal_pairs/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/divide_array_into_equal_pairs/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/divisor_game/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/divisor_game/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/eliminating_ballons/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/eliminating_ballons/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/encode_and_decode_strings/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/encode_and_decode_strings/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/evaluate_reverse_polish_notation/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/evaluate_reverse_polish_notation/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/fibonacci/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/fibonacci/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/fibonacci_number_jan_25_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/fibonacci_number_jan_25_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/find-numbers/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/find-numbers/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/find_all_numbers_disappeared_in_an_array/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/find_all_numbers_disappeared_in_an_array/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/find_missing_and_repeated_values/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/find_missing_and_repeated_values/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/find_pivot_index/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/find_pivot_index/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/finding_maximal_non_trivial_monotones/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/finding_maximal_non_trivial_monotones/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/first-non-duplicate-char/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/first-non-duplicate-char/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/group_anagrams/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/group_anagrams/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/group_anagrams_dec_05_2023/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/group_anagrams_dec_05_2023/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/h-index/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/h-index/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/house_robber_jan_24_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/house_robber_jan_24_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/house_rubber/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/house_rubber/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/implement_stack_using_queues/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/implement_stack_using_queues/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/insertion_sort_april_30_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/insertion_sort_april_30_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/intercepting_information/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/intercepting_information/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/is_anagram_dec_05_2023/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/is_anagram_dec_05_2023/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/is_permutation_of_a_palindrome/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/is_permutation_of_a_palindrome/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/is_permutation_using_array/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/is_permutation_using_array/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/kth_largest_element_in_an_array/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/kth_largest_element_in_an_array/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/kth_largest_element_in_array_bounded_heap/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/kth_largest_element_in_array_bounded_heap/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/kth_largest_element_nov_5_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/kth_largest_element_nov_5_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/kth_to_last/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/kth_to_last/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/longest_consecutive_sequence/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/longest_consecutive_sequence/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/longest_happy_string/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/longest_happy_string/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/longest_increasing_path_in_a_matrix/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/longest_increasing_path_in_a_matrix/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/longest_increasing_sub_sequence_fev_4_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/longest_increasing_sub_sequence_fev_4_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/majority_number/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/majority_number/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/matchsticks_to_square/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/matchsticks_to_square/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/matrix_addition/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/matrix_addition/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/matrix_multiply/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/matrix_multiply/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/matrix_scalar_addition/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/matrix_scalar_addition/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/matrix_scalar_multiply/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/matrix_scalar_multiply/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/matrix_transpose/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/matrix_transpose/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/max-sub-array-sum/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/max-sub-array-sum/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/max_alternating_sub_sequence_jan_26_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/max_alternating_sub_sequence_jan_26_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/maximum_number_of_balloons/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/maximum_number_of_balloons/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/merge_sort_april_30_2024/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/merge_sort_april_30_2024/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/merge_sorted_array/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/merge_sorted_array/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/min-domino-swaps/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/min-domino-swaps/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/minimum_domino_rotations_for_equal_row/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/minimum_domino_rotations_for_equal_row/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/minimum_size_subarray_sum/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/minimum_size_subarray_sum/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/move_zeroes/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/move_zeroes/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/one_away/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/one_away/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/online_stock_span/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/online_stock_span/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/open_the_lock/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/open_the_lock/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/path_sum/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/path_sum/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/permutation_in_string/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/permutation_in_string/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/product_except_self_dec_06_2023/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/product_except_self_dec_06_2023/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/product_of_array_except_self/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/product_of_array_except_self/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/reconstruct_itenerary/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/reconstruct_itenerary/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/remove-element/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/remove-element/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/remove_duplicates_from_linked_list/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/remove_duplicates_from_linked_list/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/remove_node_from_linked_list/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/remove_node_from_linked_list/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/reorganize_string/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/reorganize_string/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/repeated_dna_sequences/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/repeated_dna_sequences/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/reverse-linked-list/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/reverse-linked-list/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/richest-customer-wealth/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/richest-customer-wealth/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/rotting_oranges/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/rotting_oranges/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/single_number/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/single_number/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/smaller_string_permutations_in_bigger_string/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/smaller_string_permutations_in_bigger_string/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/snakes_and_ladders/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/snakes_and_ladders/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/split_iterator/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/split_iterator/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/squares_of_a_sorted_array/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/squares_of_a_sorted_array/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/string_has_unique_characters_with_bitflags/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/string_has_unique_characters_with_bitflags/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/string_to_int/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/string_to_int/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/subsets/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/subsets/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/subsets_2/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/subsets_2/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/task_scheduler/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/task_scheduler/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/top_k_frequent_elements/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/top_k_frequent_elements/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/top_k_frequent_elements_dec_06_2023/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/top_k_frequent_elements_dec_06_2023/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/two_city_scheduling/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/two_city_scheduling/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/two_sum/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/two_sum/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/two_sum_2/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/two_sum_2/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/two_sum_dec_05_2023/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/two_sum_dec_05_2023/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/urlify/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/urlify/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/valid_anagram/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/valid_anagram/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/valid_palindrome/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/valid_palindrome/lib.rs -------------------------------------------------------------------------------- /rust/algorithms/others/valid_perfect_square/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/valid_perfect_square/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/valid_sudoku/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/valid_sudoku/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/wiggle_sort/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/wiggle_sort/main.rs -------------------------------------------------------------------------------- /rust/algorithms/others/word_pattern/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/algorithms/others/word_pattern/main.rs -------------------------------------------------------------------------------- /rust/data_structures/animal_shelter/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/animal_shelter/main.rs -------------------------------------------------------------------------------- /rust/data_structures/btree/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /rust/data_structures/btree/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/btree/Cargo.lock -------------------------------------------------------------------------------- /rust/data_structures/btree/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/btree/Cargo.toml -------------------------------------------------------------------------------- /rust/data_structures/btree/proptest-regressions/lib.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/btree/proptest-regressions/lib.txt -------------------------------------------------------------------------------- /rust/data_structures/btree/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/btree/src/lib.rs -------------------------------------------------------------------------------- /rust/data_structures/min_stack/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/min_stack/main.rs -------------------------------------------------------------------------------- /rust/data_structures/ring_buffer/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/ring_buffer/main.rs -------------------------------------------------------------------------------- /rust/data_structures/stack_of_plates/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/stack_of_plates/main.rs -------------------------------------------------------------------------------- /rust/data_structures/trie/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/rust/data_structures/trie/main.rs -------------------------------------------------------------------------------- /scala/algorithms/graphs/is_undirect_graph_connected_recursive_dfs/Main.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/graphs/is_undirect_graph_connected_recursive_dfs/Main.scala -------------------------------------------------------------------------------- /scala/algorithms/others/church_encoded_booleans.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/others/church_encoded_booleans.scala -------------------------------------------------------------------------------- /scala/algorithms/others/pipe_operator.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/others/pipe_operator.scala -------------------------------------------------------------------------------- /scala/algorithms/others/remove_nth_node_from_end_of_list/Main.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/others/remove_nth_node_from_end_of_list/Main.scala -------------------------------------------------------------------------------- /scala/algorithms/others/remove_nth_node_from_end_of_list/MainSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/others/remove_nth_node_from_end_of_list/MainSpec.scala -------------------------------------------------------------------------------- /scala/algorithms/others/tail_recursive_factorial.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/others/tail_recursive_factorial.scala -------------------------------------------------------------------------------- /scala/algorithms/sorting/naive_quicksort.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/sorting/naive_quicksort.scala -------------------------------------------------------------------------------- /scala/algorithms/sorting/quicksort.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/scala/algorithms/sorting/quicksort.scala -------------------------------------------------------------------------------- /typescript/algorithms/others/balanced-string-slit/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/balanced-string-slit/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/compose-ranges/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/compose-ranges/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/contains-close-numbers/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/contains-close-numbers/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/find-content-children/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/find-content-children/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/find-node-that-intersects-linked-list/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/find-node-that-intersects-linked-list/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/first-duplicate/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/first-duplicate/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/first-non-repeating-character/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/first-non-repeating-character/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/first-unique-character-in-a-string/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/first-unique-character-in-a-string/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/longest-subarray-by-sum/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/longest-subarray-by-sum/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/max-subarray-sum/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/max-subarray-sum/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/maximum-nesting-depth-of-the-parentheses/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/maximum-nesting-depth-of-the-parentheses/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/min-domino-rotations/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/min-domino-rotations/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/min-remove-to-make-valid-parens/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/min-remove-to-make-valid-parens/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/move-elements-according-to-k/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/move-elements-according-to-k/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/product-of-array-except-self/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/product-of-array-except-self/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/reverse-linked-list/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/reverse-linked-list/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/reverse-only-letters/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/reverse-only-letters/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/rotate-image/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/rotate-image/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorted-square-array/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorted-square-array/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorting/bubblesort/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorting/bubblesort/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorting/insertionsort/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorting/insertionsort/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorting/mergesort/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorting/mergesort/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorting/quicksort/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorting/quicksort/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorting/selectionsort/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorting/selectionsort/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sorting/std/Std.lib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sorting/std/Std.lib.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/spiral-order/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/spiral-order/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/others/sum-of-two/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/others/sum-of-two/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/.editorconfig -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/.eslintrc.json -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/.prettierrc -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/package-lock.json -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/package.json -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/src/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/tsconfig.json -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-iterative/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-iterative/yarn.lock -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-recursive/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-recursive/package.json -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-recursive/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-recursive/src/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-recursive/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-recursive/tsconfig.json -------------------------------------------------------------------------------- /typescript/algorithms/search/binary-search-recursive/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/binary-search-recursive/yarn.lock -------------------------------------------------------------------------------- /typescript/algorithms/search/breadth-first/BinarySearchTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/breadth-first/BinarySearchTree.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/breadth-first/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/breadth-first/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/depth-first/BinarySearchTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/depth-first/BinarySearchTree.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/depth-first/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/depth-first/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/linear-search/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/linear-search/main.ts -------------------------------------------------------------------------------- /typescript/algorithms/search/ordered-linear-search/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/algorithms/search/ordered-linear-search/main.ts -------------------------------------------------------------------------------- /typescript/data_structures/lists/LinkedList.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/data_structures/lists/LinkedList.ts -------------------------------------------------------------------------------- /typescript/data_structures/trees/BinarySearchTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/data_structures/trees/BinarySearchTree.ts -------------------------------------------------------------------------------- /typescript/data_structures/trees/FamilyTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/data_structures/trees/FamilyTree.ts -------------------------------------------------------------------------------- /typescript/data_structures/trees/Trie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/data_structures/trees/Trie.ts -------------------------------------------------------------------------------- /typescript/data_structures/typings/maybe.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/data_structures/typings/maybe.d.ts -------------------------------------------------------------------------------- /typescript/data_structures/typings/predicate.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/data_structures/typings/predicate.d.ts -------------------------------------------------------------------------------- /typescript/playground/monoid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/typescript/playground/monoid.ts -------------------------------------------------------------------------------- /zig/algorithms/two-sum/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/zig/algorithms/two-sum/main.zig -------------------------------------------------------------------------------- /zig/data-structures/binary-search-tree/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PoorlyDefinedBehaviour/data-structures-and-algorithms/HEAD/zig/data-structures/binary-search-tree/main.zig --------------------------------------------------------------------------------