Can you please tell me a different for String Sort problem by using compareTo() Method because there will be problem for the substring constraint if use compareTo method and I have used method to check every char in string and then set accordingly. but can I also solve problem by compareTo() method?
Can you please tell me a different for String Sort problem by using compareTo() Method because there will be problem for the substring constraint if use compareTo method
your submissions show you have scored 100! great job 
if this solves your doubt please mark it as resolved