8000 Add more problems to sieve of eratosthenes article · cp-algorithms/cp-algorithms@db1381b · GitHub
[go: up one dir, main page]

Skip to content

Commit db1381b

Browse files
committed
Add more problems to sieve of eratosthenes article
1 parent a3fcdf7 commit db1381b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/algebra/primality_tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,4 @@ However, since these numbers (except 2) are not prime, you need to check additio
217217

218218
## Practice Problems
219219

220-
- [SPOJ - Prime or Not](https://www.spoj.com/problems/PON/)
220+
- [SPOJ - Prime or Not](https://www.spoj.com/problems/PON/)

src/algebra/sieve-of-eratosthenes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ However, this algorithm also has its own weaknesses.
254254
255255
## Practice Problems
256256
257+
* [Leetcode - Four Divisors](https://leetcode.com/problems/four-divisors/)
258+
* [Leetcode - Count Primes](https://leetcode.com/problems/count-primes/)
257259
* [SPOJ - Printing Some Primes](http://www.spoj.com/problems/TDPRIMES/)
258260
* [SPOJ - A Conjecture of Paul Erdos](http://www.spoj.com/problems/HS08PAUL/)
259261
* [SPOJ - Primal Fear](http://www.spoj.com/problems/VECTAR8/)

0 commit comments

Comments
 (0)
0