mr-ayush-agrawal / Hacktoberfest

This repository is only for the beginners for contributing in the Hacktoberfest.
4 stars 27 forks source link

Create Sieve Algo For Primes.cpp #50

Closed ADHIRAJ-12 closed 11 months ago

ADHIRAJ-12 commented 11 months ago

Sieve Algo For obtaining Primes.

Time Complexity – O(n*(log(log(n)))) Space Complexity – Auxiliary Space – O(n)

mr-ayush-agrawal commented 11 months ago

The code looks good to me. Merging it.

🥳 Happy Hacking