it is not working but is showing the right output for sample input
here is the code:
Plz have a look
hey ketan,
You are going in the right direction.
1
2
98 980
Think of this case with your code. I am sure you will get it.
Please let me know if there is any other doubt.
what else can be done its showing 98098
hey vketan,
instead of cmparing of two strings individually in comparator function.
Try to combine both and then compare
like
98980 and 98098.
Please let me know if there is any other doubt.
here is the code but there is still some error please comment :
hi @vketan182,
You were doing a little mistake.
I have corrected it, please let me know if there is any other doubt.
none of test cases are passing
have you got the error
hi @vketan182,
Due to contest question i m not able to access this question of CB,but i submitted this code on HackerRank and it is getting accepted.
Also i don’t see any error in this code.
Please share the name of the question i will try some other option to access the question.
Sorry for the late reply.
here is the question guide
C++ Master Course | Launchpad challenges-Arrays #17 Form Biggest Number
