We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Thanks for your solution.Your code is written aptly.
I had similar idea, and wrote a Python code. It passed the initial case (example given in problem) and testcase 10 , I am not sure why it gave run time error for other part. It would be great if you check below code and let me know what could be the potential issues.I think one of the error could be memory problem.
Thanks,
Suyog
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Dynamic Array
You are viewing a single comment's thread. Return to all comments →
Hi Andrew,
Thanks for your solution.Your code is written aptly. I had similar idea, and wrote a Python code. It passed the initial case (example given in problem) and testcase 10 , I am not sure why it gave run time error for other part. It would be great if you check below code and let me know what could be the potential issues.I think one of the error could be memory problem.
Thanks, Suyog