in reply to Re: Unable to Understand grep and hash use for prime no.
in thread Unable to Understand grep and hash use for prime no.
The OP does not use grep and hashes to calculate prime numbers. It uses a subroutine called is_prime(), which is not included in the posted code.
Could you post your version, so we can learn from it?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Unable to Understand grep and hash use for prime no.
by danaj (Friar) on Aug 05, 2015 at 08:02 UTC |