Commit 49c58664 authored by NARISIM SETTI CHARAN TEJA's avatar NARISIM SETTI CHARAN TEJA Committed by DODDI SAILENDRA BATHI BABU

update implementation to reflect API update

parent 160db743
...@@ -62,8 +62,8 @@ void mergeSort(vector<int> &arr, int l, int r) ...@@ -62,8 +62,8 @@ void mergeSort(vector<int> &arr, int l, int r)
} }
} }
vector<int> sort_custom(vector<int> data){ vector<int> sort_custom(vector<int> data,int startidx,int endidx){
mergeSort(data,0,data.size()-1); mergeSort(data,startidx,endidx);
return data; return data;
} }
//comment //comment
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