In the given code i do not understand what is the mistake .Please tell me what is the problem in this code:
Doubt in "Prime Visits"
@76rahul257 hey rahul this approach will not work for this question you have to apply prime sieve there is video in number theory section optimisation of sieve of eratosthenes you should watch this.
Sir,Please can you tell me why this approach is not working for this question ?
@76rahul257 hey Rahul this problem need a optimize version as I can see your code is also getting wrong ans that why I am suggesting to see the video.
Thanks for giving me your time …
@76rahul257 hey rahul we are always ready to help you all you need to do contribute your time on coding.
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.