diff --git a/Greedy Algorithms/Knapsack.cpp b/Greedy Algorithms/Knapsack.cpp new file mode 100644 index 000000000..89b6e8794 --- /dev/null +++ b/Greedy Algorithms/Knapsack.cpp @@ -0,0 +1,14 @@ +#include +using namespace std; + +struct Item +{ + int weight; + int profit; +}; + + +int main(int argc, char const *argv[]) +{ + return 0; +} \ No newline at end of file diff --git a/Bubble Sort.cpp b/Sorting/Bubble Sort.cpp similarity index 100% rename from Bubble Sort.cpp rename to Sorting/Bubble Sort.cpp diff --git a/Heap Sort .cpp b/Sorting/Heap Sort .cpp similarity index 100% rename from Heap Sort .cpp rename to Sorting/Heap Sort .cpp diff --git a/Insertion Sort.cpp b/Sorting/Insertion Sort.cpp similarity index 100% rename from Insertion Sort.cpp rename to Sorting/Insertion Sort.cpp diff --git a/Merge Sort.cpp b/Sorting/Merge Sort.cpp similarity index 100% rename from Merge Sort.cpp rename to Sorting/Merge Sort.cpp diff --git a/Quick Sort.cpp b/Sorting/Quick Sort.cpp similarity index 100% rename from Quick Sort.cpp rename to Sorting/Quick Sort.cpp diff --git a/Radix Sort.cpp b/Sorting/Radix Sort.cpp similarity index 100% rename from Radix Sort.cpp rename to Sorting/Radix Sort.cpp diff --git a/Selection Sort.cpp b/Sorting/Selection Sort.cpp similarity index 100% rename from Selection Sort.cpp rename to Sorting/Selection Sort.cpp diff --git a/Shell Sort.cpp b/Sorting/Shell Sort.cpp similarity index 100% rename from Shell Sort.cpp rename to Sorting/Shell Sort.cpp