1 test case coming wrong in string sort


what have i done wrong in my code?

Hi @mansi_sharma9kF
use this in your code :
if(s1.length()!=s2.length() && flag==1){
return s1.length()>s2.length();
}

Hope this helps :slight_smile: