Prime Visits 2 TestCase and TLE

Sir 2nd Case was wrong and Prime Sieve was in my previous course …
So i request u to share code if possible and Plz check my approach of solving the question thank you …

hey @koliswaroop93 could you please share your code so that i can see your approach

@koliswaroop93 Prime Sieve video must must be there in the number theory section of your course. Refer that first and then you will be able to code it by yourself. If you are unable then you can unlock the editorial.