204 Count Prime
Description:
Count the number of prime numbers less than a non-negative number,n.
用那个啥shieve(Sieve of Eratosthenes)。要O(n) space。T:O(n log log n)
Last updated
Description:
Count the number of prime numbers less than a non-negative number,n.
用那个啥shieve(Sieve of Eratosthenes)。要O(n) space。T:O(n log log n)
Last updated