add basic implementation

parent 65477799
#include "sorting.h"
vector<int> sort_custom(vector<int> inp){
for (int i=0;i<inp.size();i++){
for (int j=1;j<inp.size();j++){
if (inp[j-1]>inp[j]){
int temp=inp[j];
return inp;
\ No newline at end of file
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