My code is running successfully!

I just want the TA’s to confirm whether this is a correct solution or not. My code is successfully passing all test cases, but there are only two test cases so please check if my code is optimal or not.
Here is a link to my code:

Thanks in advance

@sagnik.pal2017 yes your code is fine.

1 Like

Thanks for verifying my code @jaiskid.

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.

1 Like