sir please once look at my code i’ve used string to resolve this problem and all my testcases are correct but i m not getting it right on submission
Form biggest number
Hi @nikhilmeena
Your complete code is perfect. You just need to modify your compare function.
Make compare function as following :
- first append s1 at the end of s2
- then append s2 at the end of s1
- now see which of the two formed numbers is greater
Your corrected code is :