Skip to content

Commit f07d1df

Browse files
Update DIRECTORY.md with naming conventions
Clarify naming conventions for algorithm categories.
1 parent a8bc9cc commit f07d1df

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

DIRECTORY.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2+
## Naming Conventions
3+
4+
All algorithm categories use lowercase, plural directory names that match their Java packages.
5+
For example:
6+
- Searching algorithms are in `searches` (`com.thealgorithms.searches`)
7+
- Sorting algorithms are in `sorts` (`com.thealgorithms.sorts`)
8+
9+
This avoids older mixed forms like `Search/`, `searching/`, or `sort/` and keeps the structure consistent for contributors.
10+
11+
12+
113
# Project Structure
214

315
## src

0 commit comments

Comments
 (0)