From ecf014c436698a92434a37a90e8a7c77526a3efe Mon Sep 17 00:00:00 2001 From: Ankur <54987647+Arsenic-ATG@users.noreply.github.com> Date: Sun, 10 Jan 2021 12:08:45 +0530 Subject: [PATCH 1/5] Create .gitignore file add OS generated file in .gitignore --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..863ca25e --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db \ No newline at end of file From 6b34983ba10c9eb5fd09ef990e276f74c565ccf2 Mon Sep 17 00:00:00 2001 From: Ankur <54987647+Arsenic-ATG@users.noreply.github.com> Date: Sun, 10 Jan 2021 12:12:35 +0530 Subject: [PATCH 2/5] reformat the repostory structure --- .../binarySearch.cpp => Binary Search/binary_search.cpp} | 0 SEARCHING/{python => Binary Search}/binary_search.py | 0 SEARCHING/{c or cpp => Linear Search}/linear_search.cpp | 0 .../{python/linea_search.py => Linear Search/linear_search.py} | 0 SORTING/{Python => Bubble Sort}/bubble_sort.py | 0 STRINGS/{c or cpp => Palindrom}/Palindrome.c | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename SEARCHING/{c or cpp/binarySearch.cpp => Binary Search/binary_search.cpp} (100%) rename SEARCHING/{python => Binary Search}/binary_search.py (100%) rename SEARCHING/{c or cpp => Linear Search}/linear_search.cpp (100%) rename SEARCHING/{python/linea_search.py => Linear Search/linear_search.py} (100%) rename SORTING/{Python => Bubble Sort}/bubble_sort.py (100%) rename STRINGS/{c or cpp => Palindrom}/Palindrome.c (100%) diff --git a/SEARCHING/c or cpp/binarySearch.cpp b/SEARCHING/Binary Search/binary_search.cpp similarity index 100% rename from SEARCHING/c or cpp/binarySearch.cpp rename to SEARCHING/Binary Search/binary_search.cpp diff --git a/SEARCHING/python/binary_search.py b/SEARCHING/Binary Search/binary_search.py similarity index 100% rename from SEARCHING/python/binary_search.py rename to SEARCHING/Binary Search/binary_search.py diff --git a/SEARCHING/c or cpp/linear_search.cpp b/SEARCHING/Linear Search/linear_search.cpp similarity index 100% rename from SEARCHING/c or cpp/linear_search.cpp rename to SEARCHING/Linear Search/linear_search.cpp diff --git a/SEARCHING/python/linea_search.py b/SEARCHING/Linear Search/linear_search.py similarity index 100% rename from SEARCHING/python/linea_search.py rename to SEARCHING/Linear Search/linear_search.py diff --git a/SORTING/Python/bubble_sort.py b/SORTING/Bubble Sort/bubble_sort.py similarity index 100% rename from SORTING/Python/bubble_sort.py rename to SORTING/Bubble Sort/bubble_sort.py diff --git a/STRINGS/c or cpp/Palindrome.c b/STRINGS/Palindrom/Palindrome.c similarity index 100% rename from STRINGS/c or cpp/Palindrome.c rename to STRINGS/Palindrom/Palindrome.c From 37afdd60fdae8d82d10810a6e0913c0c7346c5e4 Mon Sep 17 00:00:00 2001 From: Ankur <54987647+Arsenic-ATG@users.noreply.github.com> Date: Thu, 14 Jan 2021 12:15:56 +0530 Subject: [PATCH 3/5] restructure the repo - format discussed in issue #3 - rename files and folders to lower case --- .../binary_search.cpp => searching/c-or-cpp/binary-search.cpp | 0 .../linear_search.cpp => searching/c-or-cpp/linear-search.cpp | 0 .../binary_search.py => searching/python/binary-search.py | 0 .../linear_search.py => searching/python/linear-search.py | 0 SORTING/C++/bubble_sort.cpp => sorting/c-or-cpp/bubble-sort.cpp | 0 .../Bubble Sort/bubble_sort.py => sorting/python/bubble-sort.py | 0 {STRINGS/Palindrom => strings/c-or-cpp}/Palindrome.c | 0 7 files changed, 0 insertions(+), 0 deletions(-) rename SEARCHING/Binary Search/binary_search.cpp => searching/c-or-cpp/binary-search.cpp (100%) rename SEARCHING/Linear Search/linear_search.cpp => searching/c-or-cpp/linear-search.cpp (100%) rename SEARCHING/Binary Search/binary_search.py => searching/python/binary-search.py (100%) rename SEARCHING/Linear Search/linear_search.py => searching/python/linear-search.py (100%) rename SORTING/C++/bubble_sort.cpp => sorting/c-or-cpp/bubble-sort.cpp (100%) rename SORTING/Bubble Sort/bubble_sort.py => sorting/python/bubble-sort.py (100%) rename {STRINGS/Palindrom => strings/c-or-cpp}/Palindrome.c (100%) diff --git a/SEARCHING/Binary Search/binary_search.cpp b/searching/c-or-cpp/binary-search.cpp similarity index 100% rename from SEARCHING/Binary Search/binary_search.cpp rename to searching/c-or-cpp/binary-search.cpp diff --git a/SEARCHING/Linear Search/linear_search.cpp b/searching/c-or-cpp/linear-search.cpp similarity index 100% rename from SEARCHING/Linear Search/linear_search.cpp rename to searching/c-or-cpp/linear-search.cpp diff --git a/SEARCHING/Binary Search/binary_search.py b/searching/python/binary-search.py similarity index 100% rename from SEARCHING/Binary Search/binary_search.py rename to searching/python/binary-search.py diff --git a/SEARCHING/Linear Search/linear_search.py b/searching/python/linear-search.py similarity index 100% rename from SEARCHING/Linear Search/linear_search.py rename to searching/python/linear-search.py diff --git a/SORTING/C++/bubble_sort.cpp b/sorting/c-or-cpp/bubble-sort.cpp similarity index 100% rename from SORTING/C++/bubble_sort.cpp rename to sorting/c-or-cpp/bubble-sort.cpp diff --git a/SORTING/Bubble Sort/bubble_sort.py b/sorting/python/bubble-sort.py similarity index 100% rename from SORTING/Bubble Sort/bubble_sort.py rename to sorting/python/bubble-sort.py diff --git a/STRINGS/Palindrom/Palindrome.c b/strings/c-or-cpp/Palindrome.c similarity index 100% rename from STRINGS/Palindrom/Palindrome.c rename to strings/c-or-cpp/Palindrome.c From 976e35b9201fbee03f5e35c8c8daebaea2a29e5b Mon Sep 17 00:00:00 2001 From: Ankur <54987647+Arsenic-ATG@users.noreply.github.com> Date: Thu, 14 Jan 2021 12:19:47 +0530 Subject: [PATCH 4/5] Add README.md for index --- searching/README.md | 1 + sorting/README.md | 1 + strings/README.md | 1 + 3 files changed, 3 insertions(+) create mode 100644 searching/README.md create mode 100644 sorting/README.md create mode 100644 strings/README.md diff --git a/searching/README.md b/searching/README.md new file mode 100644 index 00000000..8b013d6a --- /dev/null +++ b/searching/README.md @@ -0,0 +1 @@ +# Index diff --git a/sorting/README.md b/sorting/README.md new file mode 100644 index 00000000..8b013d6a --- /dev/null +++ b/sorting/README.md @@ -0,0 +1 @@ +# Index diff --git a/strings/README.md b/strings/README.md new file mode 100644 index 00000000..8b013d6a --- /dev/null +++ b/strings/README.md @@ -0,0 +1 @@ +# Index From f37c079f0813e01f246781161affbf4d2df772e5 Mon Sep 17 00:00:00 2001 From: Ankur <54987647+Arsenic-ATG@users.noreply.github.com> Date: Thu, 14 Jan 2021 12:38:38 +0530 Subject: [PATCH 5/5] Put initial index in index readme.md --- searching/README.md | 13 ++++++++++++- sorting/README.md | 12 +++++++++++- strings/README.md | 6 +++++- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/searching/README.md b/searching/README.md index 8b013d6a..06904348 100644 --- a/searching/README.md +++ b/searching/README.md @@ -1 +1,12 @@ -# Index +# Searching algorithms + +### c-or-cpp + +1. linear-search.cpp +2. binary-search.cpp + +### python + +1. linear-search.py +2. binary-search.py + diff --git a/sorting/README.md b/sorting/README.md index 8b013d6a..5e551351 100644 --- a/sorting/README.md +++ b/sorting/README.md @@ -1 +1,11 @@ -# Index +# Sorting algorithms + +### c-or-cpp + +1. bubble-sort.cpp + +### python + +1. bubble-sort.py + + diff --git a/strings/README.md b/strings/README.md index 8b013d6a..d9a742fa 100644 --- a/strings/README.md +++ b/strings/README.md @@ -1 +1,5 @@ -# Index +# String operations + +### c-or-cpp + +1. palindrome check (palindrome.c)