2 Commits

Author SHA1 Message Date
Kaushal Agrawal
28e4842319
Update sieve_of_Eratosthenes.cpp
Multiple changes:
Time complexity updated.
Fixed Indentation issues.
Global array primes[ ] was misleading because primes[x] = 0 means x is prime. Updated the array name to isprime[ ] and now isprime[x] = 1 means x is prime. Updated the code accordingly.
2018-09-13 05:57:56 +05:30
Uday Patel
e8e2b9c427 Added Sieve of Eratostheness 2017-10-09 02:34:50 +01:00