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 diff --git a/searching/README.md b/searching/README.md new file mode 100644 index 00000000..7d0f9d01 --- /dev/null +++ b/searching/README.md @@ -0,0 +1,13 @@ +# Searching algorithms + +### c-or-cpp + +1. linear-search.cpp +2. binary-search.cpp +3. jump-search.cpp + +### python + +1. linear-search.py +2. binary-search.py + diff --git a/SEARCHING/c or cpp/binarySearch.cpp b/searching/c-or-cpp/binary-search.cpp similarity index 100% rename from SEARCHING/c or cpp/binarySearch.cpp rename to searching/c-or-cpp/binary-search.cpp diff --git a/SEARCHING/c or cpp/jump-search.cpp b/searching/c-or-cpp/jump-search.cpp similarity index 100% rename from SEARCHING/c or cpp/jump-search.cpp rename to searching/c-or-cpp/jump-search.cpp diff --git a/SEARCHING/c or cpp/linear_search.cpp b/searching/c-or-cpp/linear-search.cpp similarity index 100% rename from SEARCHING/c or cpp/linear_search.cpp rename to searching/c-or-cpp/linear-search.cpp diff --git a/SEARCHING/python/binary_search.py b/searching/python/binary-search.py similarity index 100% rename from SEARCHING/python/binary_search.py rename to searching/python/binary-search.py diff --git a/SEARCHING/python/linea_search.py b/searching/python/linear-search.py similarity index 100% rename from SEARCHING/python/linea_search.py rename to searching/python/linear-search.py diff --git a/sorting/README.md b/sorting/README.md new file mode 100644 index 00000000..5e551351 --- /dev/null +++ b/sorting/README.md @@ -0,0 +1,11 @@ +# Sorting algorithms + +### c-or-cpp + +1. bubble-sort.cpp + +### python + +1. bubble-sort.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/C++/insertionSort.cpp b/sorting/c-or-cpp/insertion-sort.cpp similarity index 100% rename from SORTING/C++/insertionSort.cpp rename to sorting/c-or-cpp/insertion-sort.cpp diff --git a/SORTING/Python/bubble_sort.py b/sorting/python/bubble-sort.py similarity index 100% rename from SORTING/Python/bubble_sort.py rename to sorting/python/bubble-sort.py diff --git a/strings/README.md b/strings/README.md new file mode 100644 index 00000000..d9a742fa --- /dev/null +++ b/strings/README.md @@ -0,0 +1,5 @@ +# String operations + +### c-or-cpp + +1. palindrome check (palindrome.c) diff --git a/STRINGS/c or cpp/Palindrome.c b/strings/c-or-cpp/Palindrome.c similarity index 100% rename from STRINGS/c or cpp/Palindrome.c rename to strings/c-or-cpp/Palindrome.c