From bb8a75a95b204ce4aec06986f3385e884ca3aba0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Sep 2025 06:42:37 +0000 Subject: [PATCH 1/3] Initial plan From 320f42a6a0a778d71fbafee1c1370eeedd327e4e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Sep 2025 06:47:14 +0000 Subject: [PATCH 2/3] Move files from domain root directories to language subdirectories Co-authored-by: felipecustodio <4261743+felipecustodio@users.noreply.github.com> --- dynamic_control/{ => c}/PID_algo_with_documentation.c | 0 graphs/{ => cpp}/Dijkstra.cpp | 0 greedy_algorithms/{ => cpp}/Job_Sequencing.cpp | 0 greedy_algorithms/{ => cpp}/KnapSack.cpp | 0 greedy_algorithms/{ => cpp}/MakingChangeProblem.cpp | 0 greedy_algorithms/{ => cpp}/activity_selection.cpp | 0 greedy_algorithms/{ => cpp}/minimum_number_of_coins.cpp | 0 misc/{ => c}/mod_inverse_euclidean_algorithm.c | 0 misc/{ => python}/random_file_name_gen.py | 0 networking/{ => python}/mail_sender.py | 0 sorting/{ => cpp}/Toplogical sort.cpp | 0 sorting/{ => java}/TimSort.java | 0 system_programming/{ => cpp}/grammar_left_factoring.cpp | 0 tictactoe_game/{ => python}/tictactoe.py | 0 14 files changed, 0 insertions(+), 0 deletions(-) rename dynamic_control/{ => c}/PID_algo_with_documentation.c (100%) rename graphs/{ => cpp}/Dijkstra.cpp (100%) rename greedy_algorithms/{ => cpp}/Job_Sequencing.cpp (100%) rename greedy_algorithms/{ => cpp}/KnapSack.cpp (100%) rename greedy_algorithms/{ => cpp}/MakingChangeProblem.cpp (100%) rename greedy_algorithms/{ => cpp}/activity_selection.cpp (100%) rename greedy_algorithms/{ => cpp}/minimum_number_of_coins.cpp (100%) rename misc/{ => c}/mod_inverse_euclidean_algorithm.c (100%) rename misc/{ => python}/random_file_name_gen.py (100%) rename networking/{ => python}/mail_sender.py (100%) rename sorting/{ => cpp}/Toplogical sort.cpp (100%) rename sorting/{ => java}/TimSort.java (100%) rename system_programming/{ => cpp}/grammar_left_factoring.cpp (100%) rename tictactoe_game/{ => python}/tictactoe.py (100%) diff --git a/dynamic_control/PID_algo_with_documentation.c b/dynamic_control/c/PID_algo_with_documentation.c similarity index 100% rename from dynamic_control/PID_algo_with_documentation.c rename to dynamic_control/c/PID_algo_with_documentation.c diff --git a/graphs/Dijkstra.cpp b/graphs/cpp/Dijkstra.cpp similarity index 100% rename from graphs/Dijkstra.cpp rename to graphs/cpp/Dijkstra.cpp diff --git a/greedy_algorithms/Job_Sequencing.cpp b/greedy_algorithms/cpp/Job_Sequencing.cpp similarity index 100% rename from greedy_algorithms/Job_Sequencing.cpp rename to greedy_algorithms/cpp/Job_Sequencing.cpp diff --git a/greedy_algorithms/KnapSack.cpp b/greedy_algorithms/cpp/KnapSack.cpp similarity index 100% rename from greedy_algorithms/KnapSack.cpp rename to greedy_algorithms/cpp/KnapSack.cpp diff --git a/greedy_algorithms/MakingChangeProblem.cpp b/greedy_algorithms/cpp/MakingChangeProblem.cpp similarity index 100% rename from greedy_algorithms/MakingChangeProblem.cpp rename to greedy_algorithms/cpp/MakingChangeProblem.cpp diff --git a/greedy_algorithms/activity_selection.cpp b/greedy_algorithms/cpp/activity_selection.cpp similarity index 100% rename from greedy_algorithms/activity_selection.cpp rename to greedy_algorithms/cpp/activity_selection.cpp diff --git a/greedy_algorithms/minimum_number_of_coins.cpp b/greedy_algorithms/cpp/minimum_number_of_coins.cpp similarity index 100% rename from greedy_algorithms/minimum_number_of_coins.cpp rename to greedy_algorithms/cpp/minimum_number_of_coins.cpp diff --git a/misc/mod_inverse_euclidean_algorithm.c b/misc/c/mod_inverse_euclidean_algorithm.c similarity index 100% rename from misc/mod_inverse_euclidean_algorithm.c rename to misc/c/mod_inverse_euclidean_algorithm.c diff --git a/misc/random_file_name_gen.py b/misc/python/random_file_name_gen.py similarity index 100% rename from misc/random_file_name_gen.py rename to misc/python/random_file_name_gen.py diff --git a/networking/mail_sender.py b/networking/python/mail_sender.py similarity index 100% rename from networking/mail_sender.py rename to networking/python/mail_sender.py diff --git a/sorting/Toplogical sort.cpp b/sorting/cpp/Toplogical sort.cpp similarity index 100% rename from sorting/Toplogical sort.cpp rename to sorting/cpp/Toplogical sort.cpp diff --git a/sorting/TimSort.java b/sorting/java/TimSort.java similarity index 100% rename from sorting/TimSort.java rename to sorting/java/TimSort.java diff --git a/system_programming/grammar_left_factoring.cpp b/system_programming/cpp/grammar_left_factoring.cpp similarity index 100% rename from system_programming/grammar_left_factoring.cpp rename to system_programming/cpp/grammar_left_factoring.cpp diff --git a/tictactoe_game/tictactoe.py b/tictactoe_game/python/tictactoe.py similarity index 100% rename from tictactoe_game/tictactoe.py rename to tictactoe_game/python/tictactoe.py From 92ceeaa030d0041e1ce26a14d51bfa432008e946 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Sep 2025 06:50:01 +0000 Subject: [PATCH 3/3] Resolve case conflict directories by merging with proper directories Co-authored-by: felipecustodio <4261743+felipecustodio@users.noreply.github.com> --- .../Java}/gnome_sort.java | 0 .../{Gnome_sort (Case Conflict) => Gnome_sort/cpp}/gnome_sort.cpp | 0 .../{Gnome_sort (Case Conflict) => Gnome_sort/php}/gnome_sort.php | 0 .../{Heap_sort (Case Conflict) => Heap_sort}/Java/Heap_sort.java | 0 sorting/{Heap_sort (Case Conflict) => Heap_sort}/README.md | 0 sorting/{Heap_sort (Case Conflict) => Heap_sort/c}/heap sort.c | 0 .../{Heap_sort (Case Conflict) => Heap_sort/cpp}/heap sort.cpp | 0 sorting/{Heap_sort (Case Conflict) => Heap_sort/csharp}/heap.cs | 0 sorting/{Heap_sort (Case Conflict) => Heap_sort}/go/heap_sort.go | 0 .../{Heap_sort (Case Conflict) => Heap_sort}/go/heap_sort_test.go | 0 .../javascript/HeapSort.js | 0 .../{Heap_sort (Case Conflict) => Heap_sort}/python/heap_sort.py | 0 .../Rust/selection_sort.rs | 0 .../java/SelectionSort.java | 0 .../php/selection_sort.php | 0 .../python/selection_sort.py | 0 16 files changed, 0 insertions(+), 0 deletions(-) rename sorting/{Gnome_sort (Case Conflict) => Gnome_sort/Java}/gnome_sort.java (100%) rename sorting/{Gnome_sort (Case Conflict) => Gnome_sort/cpp}/gnome_sort.cpp (100%) rename sorting/{Gnome_sort (Case Conflict) => Gnome_sort/php}/gnome_sort.php (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort}/Java/Heap_sort.java (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort}/README.md (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort/c}/heap sort.c (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort/cpp}/heap sort.cpp (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort/csharp}/heap.cs (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort}/go/heap_sort.go (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort}/go/heap_sort_test.go (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort}/javascript/HeapSort.js (100%) rename sorting/{Heap_sort (Case Conflict) => Heap_sort}/python/heap_sort.py (100%) rename sorting/{Selection_sort (Case Conflict) => Selection_sort}/Rust/selection_sort.rs (100%) rename sorting/{Selection_sort (Case Conflict) => Selection_sort}/java/SelectionSort.java (100%) rename sorting/{Selection_sort (Case Conflict) => Selection_sort}/php/selection_sort.php (100%) rename sorting/{Selection_sort (Case Conflict) => Selection_sort}/python/selection_sort.py (100%) diff --git a/sorting/Gnome_sort (Case Conflict)/gnome_sort.java b/sorting/Gnome_sort/Java/gnome_sort.java similarity index 100% rename from sorting/Gnome_sort (Case Conflict)/gnome_sort.java rename to sorting/Gnome_sort/Java/gnome_sort.java diff --git a/sorting/Gnome_sort (Case Conflict)/gnome_sort.cpp b/sorting/Gnome_sort/cpp/gnome_sort.cpp similarity index 100% rename from sorting/Gnome_sort (Case Conflict)/gnome_sort.cpp rename to sorting/Gnome_sort/cpp/gnome_sort.cpp diff --git a/sorting/Gnome_sort (Case Conflict)/gnome_sort.php b/sorting/Gnome_sort/php/gnome_sort.php similarity index 100% rename from sorting/Gnome_sort (Case Conflict)/gnome_sort.php rename to sorting/Gnome_sort/php/gnome_sort.php diff --git a/sorting/Heap_sort (Case Conflict)/Java/Heap_sort.java b/sorting/Heap_sort/Java/Heap_sort.java similarity index 100% rename from sorting/Heap_sort (Case Conflict)/Java/Heap_sort.java rename to sorting/Heap_sort/Java/Heap_sort.java diff --git a/sorting/Heap_sort (Case Conflict)/README.md b/sorting/Heap_sort/README.md similarity index 100% rename from sorting/Heap_sort (Case Conflict)/README.md rename to sorting/Heap_sort/README.md diff --git a/sorting/Heap_sort (Case Conflict)/heap sort.c b/sorting/Heap_sort/c/heap sort.c similarity index 100% rename from sorting/Heap_sort (Case Conflict)/heap sort.c rename to sorting/Heap_sort/c/heap sort.c diff --git a/sorting/Heap_sort (Case Conflict)/heap sort.cpp b/sorting/Heap_sort/cpp/heap sort.cpp similarity index 100% rename from sorting/Heap_sort (Case Conflict)/heap sort.cpp rename to sorting/Heap_sort/cpp/heap sort.cpp diff --git a/sorting/Heap_sort (Case Conflict)/heap.cs b/sorting/Heap_sort/csharp/heap.cs similarity index 100% rename from sorting/Heap_sort (Case Conflict)/heap.cs rename to sorting/Heap_sort/csharp/heap.cs diff --git a/sorting/Heap_sort (Case Conflict)/go/heap_sort.go b/sorting/Heap_sort/go/heap_sort.go similarity index 100% rename from sorting/Heap_sort (Case Conflict)/go/heap_sort.go rename to sorting/Heap_sort/go/heap_sort.go diff --git a/sorting/Heap_sort (Case Conflict)/go/heap_sort_test.go b/sorting/Heap_sort/go/heap_sort_test.go similarity index 100% rename from sorting/Heap_sort (Case Conflict)/go/heap_sort_test.go rename to sorting/Heap_sort/go/heap_sort_test.go diff --git a/sorting/Heap_sort (Case Conflict)/javascript/HeapSort.js b/sorting/Heap_sort/javascript/HeapSort.js similarity index 100% rename from sorting/Heap_sort (Case Conflict)/javascript/HeapSort.js rename to sorting/Heap_sort/javascript/HeapSort.js diff --git a/sorting/Heap_sort (Case Conflict)/python/heap_sort.py b/sorting/Heap_sort/python/heap_sort.py similarity index 100% rename from sorting/Heap_sort (Case Conflict)/python/heap_sort.py rename to sorting/Heap_sort/python/heap_sort.py diff --git a/sorting/Selection_sort (Case Conflict)/Rust/selection_sort.rs b/sorting/Selection_sort/Rust/selection_sort.rs similarity index 100% rename from sorting/Selection_sort (Case Conflict)/Rust/selection_sort.rs rename to sorting/Selection_sort/Rust/selection_sort.rs diff --git a/sorting/Selection_sort (Case Conflict)/java/SelectionSort.java b/sorting/Selection_sort/java/SelectionSort.java similarity index 100% rename from sorting/Selection_sort (Case Conflict)/java/SelectionSort.java rename to sorting/Selection_sort/java/SelectionSort.java diff --git a/sorting/Selection_sort (Case Conflict)/php/selection_sort.php b/sorting/Selection_sort/php/selection_sort.php similarity index 100% rename from sorting/Selection_sort (Case Conflict)/php/selection_sort.php rename to sorting/Selection_sort/php/selection_sort.php diff --git a/sorting/Selection_sort (Case Conflict)/python/selection_sort.py b/sorting/Selection_sort/python/selection_sort.py similarity index 100% rename from sorting/Selection_sort (Case Conflict)/python/selection_sort.py rename to sorting/Selection_sort/python/selection_sort.py