Commit f1b900d5 authored by RAJDEEP YADAV's avatar RAJDEEP YADAV

add API and data read

parents
#include<iostream>
#include "sorting.h"
#include<vector>
using namespace std;
int main(){
int N;
cin>>N;
vector<int> arr(N);
for(int i=0;i<N;i++)
cin>>arr[i];
vector<int> ans=sort_custom(arr);
for(int i=0;i<N;i++)
cout<<ans[i]<<" ";
cout<<endl;
}
\ No newline at end of file
#include<vector>
using namespace std;
vector<int> sort_custom(vector<int>);
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