Wrong Answer…
https://ide.codingblocks.com/s/72994
https://online.codingblocks.com/player/16682/content/6194/5316
Wrong Answer…
https://ide.codingblocks.com/s/72994
https://online.codingblocks.com/player/16682/content/6194/5316
u can directly take string input due to which u don’t need to convert it into string also in sorting make a comparator explicitly as u r comparing 2 string so u have to check the combination of it
like string 1=x string 2=y
then u have to check between
x.append(y) and y.sppend(x) and return which forms the bigger
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.