link to code
I tried implementing the code using string but have incurred errors
You cannot just compare two string and add the biggest string . See this example:
If s1=990,s2=9. Then you will make 9909
Whereas 9990 is bigger. So check the condition like s1+s2> s2+s1
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.