unable to understand why is Time Limit Exceeded
Prime visits error
hey @priyanshi.agarwal3405, please share your code saved in Coding blocks ide so that I can debug it.
hey @priyanshi.agarwal3405, you just shared me URL of your course which is completely private to you.
Click the below link, paste your code there, press the save button and then share the URL.
sir, could you please help!
hey @gaurav13998, constraints of question is very high and O(root(n)) will still be high to solve this question. You need to use optimized approach of prime Sieve for calculating prime numbers. Please find the approch in your course and use it.
okay sir, I’ll try that. Thank you