Double arrow - missing something in my code

Is anything missing here at my code?

Also let me know, how to be sure before submitting the code?

hello @omkarvp99

looks correct to me.

run it on some sample test case and see if its giving expected output or not.
dry run on small cases also helps

@aman212yadav,

Great.

Also want to know,

Sometimes editor doesn’t respond, so need to refresh the whole page.

What I do, I copy all my code in notepad in such a situation.

After pasting all code for submission.

Does copy-paste code affect my score, for such situations?

no , your score will depend on how many test cases ur code pass and nothing else

1 Like

@aman212yadav,

Thanks to know.

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.