Skip to content

Organize directories: Move submissions into their respective domain folders#170

Open
Copilot wants to merge 3 commits intomasterfrom
copilot/fix-67
Open

Organize directories: Move submissions into their respective domain folders#170
Copilot wants to merge 3 commits intomasterfrom
copilot/fix-67

Conversation

Copy link

Copilot AI commented Sep 1, 2025

This PR reorganizes the repository structure to follow the guidelines specified in CONTRIBUTING.md. The expected structure is:

├── problem category (or sub-category)
│   ├── programming language
│   │   └── your code!

Changes Made

1. Moved files from domain root directories to language subdirectories

Previously, many files were directly in domain folders without proper language organization:

  • graphs/Dijkstra.cppgraphs/cpp/Dijkstra.cpp
  • greedy_algorithms/*.cppgreedy_algorithms/cpp/
  • misc/mod_inverse_euclidean_algorithm.cmisc/c/
  • misc/random_file_name_gen.pymisc/python/
  • networking/mail_sender.pynetworking/python/
  • sorting/TimSort.javasorting/java/
  • sorting/Toplogical sort.cppsorting/cpp/
  • system_programming/grammar_left_factoring.cppsystem_programming/cpp/
  • tictactoe_game/tictactoe.pytictactoe_game/python/
  • dynamic_control/PID_algo_with_documentation.cdynamic_control/c/

2. Resolved case conflict directories

The repository had several directories with "(Case Conflict)" suffixes that needed to be merged:

  • Merged Gnome_sort (Case Conflict) into Gnome_sort
  • Merged Heap_sort (Case Conflict) into Heap_sort
  • Merged Selection_sort (Case Conflict) into Selection_sort

All files from these conflicting directories were properly organized into their respective language subdirectories.

Results

  • 337 code files are now properly organized according to the contributing guidelines
  • All files now follow the expected 3-level directory structure: domain/language/code
  • No files remain at incorrect depth levels
  • All case conflicts have been resolved
  • Repository structure is now consistent and maintainable

This organization will make it easier for contributors to find the right location for their submissions and maintain consistency across the repository.

Fixes #67.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copy link
Author

Copilot AI commented Sep 1, 2025

@felipecustodio 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Copilot AI and others added 2 commits September 1, 2025 06:47
Co-authored-by: felipecustodio <4261743+felipecustodio@users.noreply.github.com>
Co-authored-by: felipecustodio <4261743+felipecustodio@users.noreply.github.com>
Copilot AI changed the title [WIP] Organize directories Organize directories: Move submissions into their respective domain folders Sep 1, 2025
Copilot AI requested a review from felipecustodio September 1, 2025 06:53
@felipecustodio felipecustodio marked this pull request as ready for review September 1, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Organize directories

2 participants