Getting run error in find biggerst number

code link:

hello @rabhi1611
a) check value of n and declare ur array size bigger than that

b) dont convert string baack to int in comparator.

simply do this

bool cmp(string s1,string s2){
return s1+s2 > s2+s1;
}