Well my first Blog on Algorithms…Hope its helpfull!!Thank you.
http://pateljay-algorithms.blogspot.in/
4 Likes
to see the difference in the time taken,
naive : http://ideone.com/lPkhYD
sieve : http://ideone.com/b1vuUe
you should try implementing the sieve of Atkin. That’s way faster than the sieve of eratosthenes.
Ohkk thanx i will try that!!
Good one. Explained very nicely.
very good work
Glad u liked!!!Thanx…
Glad u liked!!!Thanx…