it is giving run-error in last test case. else working correct for random cases and also for 1 and 2 test case.
Arrays - Prime Visits
Since you are not responding to this thread, I am marking your doubt as resolved for now. You can reopen this doubt thread anytime if your issue still persists and we will help you out.
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.