1 test case does not pass
String sort problem
you should only return by length when one substring is prefix of the another which means you should check the whole string not just the first element.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.