Organize directories: Move submissions into their respective domain folders
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.cpp→graphs/cpp/Dijkstra.cpp -
greedy_algorithms/*.cpp→greedy_algorithms/cpp/ -
misc/mod_inverse_euclidean_algorithm.c→misc/c/ -
misc/random_file_name_gen.py→misc/python/ -
networking/mail_sender.py→networking/python/ -
sorting/TimSort.java→sorting/java/ -
sorting/Toplogical sort.cpp→sorting/cpp/ -
system_programming/grammar_left_factoring.cpp→system_programming/cpp/ -
tictactoe_game/tictactoe.py→tictactoe_game/python/ -
dynamic_control/PID_algo_with_documentation.c→dynamic_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)intoGnome_sort - Merged
Heap_sort (Case Conflict)intoHeap_sort - Merged
Selection_sort (Case Conflict)intoSelection_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.
@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.