diff --git a/Algorithms b/Algorithms deleted file mode 100644 index 8b13789..0000000 --- a/Algorithms +++ /dev/null @@ -1 +0,0 @@ - diff --git a/disjoint_set_union.cpp b/Algorithms/disjoint_set_union/disjoint_set_union.cpp similarity index 100% rename from disjoint_set_union.cpp rename to Algorithms/disjoint_set_union/disjoint_set_union.cpp diff --git a/README.md b/README.md index e1e9904..fcf7fb8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # nwoc_algorithms This is a library of various algorithms that are used in competitive programming. + +### sample algorithm +[disjoint_set_union.cpp](Algorithms/disjoint_set_union/disjoint_set_union.cpp) diff --git a/instructions.md b/instructions.md index 0842740..c3990ee 100644 --- a/instructions.md +++ b/instructions.md @@ -22,7 +22,7 @@ Before contributing, check whether the algorithm has already been implemented or 1. Make a folder for your algorithm. The folder name should be descriptive. Use underscores instead of spaces. 2. Put your program in that folder. Keep the program name as similar as possible to the folder name. -3. Add documentation for your program.Algorithms without a basic documentation (description, input/output format, sample input/output) will **not** be accepted. +3. Add documentation for your program.Algorithms without a basic documentation (description, input/output format, sample input/output) will **not** be accepted. See [disjoint_set_union.cpp](Algorithms/disjoint_set_union/disjoint_set_union.cpp) for example. 4. Update the List of Algorithms in [README](README.md) with your algorithm. 5. Commit and push the changes, then submit a Pull Request.