Prateek loves candy problem not getting the approach and did not understand it

how to approach this problem and i did not understand it .

Hi Nipun

Please try writing some code for this problem. Or discuss whatever logic you have thought of so far. Telling the solution right away wont help you in concept building.

The question simply asks that you need to find the nth prime number starting from 2.

Hi Nipun
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.