Commit 74f8a471 authored by KSHITIJ SINGHA's avatar KSHITIJ SINGHA

merged master with merge-sort

parents ebe6a3b5 da949617
...@@ -13,6 +13,7 @@ sorting.o: sorting.cpp ...@@ -13,6 +13,7 @@ sorting.o: sorting.cpp
clean: clean:
rm -rf a.out rm -rf a.out
<<<<<<< HEAD
======= =======
CC = g++ CC = g++
...@@ -28,3 +29,6 @@ sorting.o: sorting.cpp sorting.h ...@@ -28,3 +29,6 @@ sorting.o: sorting.cpp sorting.h
clean: clean:
rm -rf *.o rm -rf *.o
>>>>>>> merge-sort >>>>>>> merge-sort
=======
>>>>>>> da94961751a78074e353150eec99910db0c9a8fc
...@@ -4,7 +4,11 @@ ...@@ -4,7 +4,11 @@
using namespace std; using namespace std;
<<<<<<< HEAD <<<<<<< HEAD
<<<<<<< HEAD
=======
//from header file
>>>>>>> da94961751a78074e353150eec99910db0c9a8fc
vector<int> sort_custom(vector<int>& a); vector<int> sort_custom(vector<int>& a);
void printVector(vector<int> a); void printVector(vector<int> a);
......
File added
<<<<<<< HEAD <<<<<<< HEAD
#include <vector> #include <vector>
#include "sorting.h" #include "sorting.h"
//
using namespace std; using namespace std;
vector<int> sort_custom(const vector<int>& a) vector<int> sort_custom(const vector<int>& a)
{ {
......
using namespace std; using namespace std;
<<<<<<< HEAD <<<<<<< HEAD
<<<<<<< HEAD
=======
//func
>>>>>>> da94961751a78074e353150eec99910db0c9a8fc
vector<int> sort_custom(vector<int>& a); vector<int> sort_custom(vector<int>& a);
void printVector(vector<int> a); void printVector(vector<int> a);
======= =======
......
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment