From f07d1df58d75c81510e89442e3b434015f4240d8 Mon Sep 17 00:00:00 2001 From: thespirits910 Date: Thu, 11 Dec 2025 15:56:05 -0600 Subject: [PATCH] Update DIRECTORY.md with naming conventions Clarify naming conventions for algorithm categories. --- DIRECTORY.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/DIRECTORY.md b/DIRECTORY.md index b8db96ffa993..ac801a1852ab 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -1,3 +1,15 @@ + +## Naming Conventions + +All algorithm categories use lowercase, plural directory names that match their Java packages. +For example: +- Searching algorithms are in `searches` (`com.thealgorithms.searches`) +- Sorting algorithms are in `sorts` (`com.thealgorithms.sorts`) + +This avoids older mixed forms like `Search/`, `searching/`, or `sort/` and keeps the structure consistent for contributors. + + + # Project Structure ## src