From 75767cd1e54cecdbd0f99aed2d26f1db9b21187c Mon Sep 17 00:00:00 2001 From: Suryansh Singh Date: Mon, 2 Dec 2019 15:28:02 +0530 Subject: [PATCH 1/3] Created a new folder for Algorithms --- Algorithms | 1 - .../disjoint_set_union/disjoint_set_union.cpp | 0 2 files changed, 1 deletion(-) delete mode 100644 Algorithms rename disjoint_set_union.cpp => Algorithms/disjoint_set_union/disjoint_set_union.cpp (100%) 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 From 3df2057811fb8a1a8bb632ba343d8c5ce07390a7 Mon Sep 17 00:00:00 2001 From: Suryansh Singh Date: Mon, 2 Dec 2019 15:32:43 +0530 Subject: [PATCH 2/3] linked disjoint_set_union.cpp in readme and instuctions.md --- README.md | 3 +++ instructions.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e1e9904..1c69435 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. From 77afc11252cee44b682099eba5682ecf9cfe4025 Mon Sep 17 00:00:00 2001 From: Lord-of-Codes Date: Mon, 2 Dec 2019 15:33:50 +0530 Subject: [PATCH 3/3] fixed typo in readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c69435..fcf7fb8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # nwoc_algorithms This is a library of various algorithms that are used in competitive programming. -###sample algorithm +### sample algorithm [disjoint_set_union.cpp](Algorithms/disjoint_set_union/disjoint_set_union.cpp)