Please tell me what are the cases I have not considered.
Here’s my code:
Only 3 out of 5 test cases are passed successfully(Test Case 2 and Test Case 3 are giving wrong output)
The number can be very large
So long long int won’t work
Take input as a string and then work on it
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.