mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #672] Add eratosthenes sieve method for finding primes below given number #1151
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/672
Author: @anoopemacs
Created: 10/17/2020
Status: 🔄 Open
Base:
master← Head:master📝 Commits (7)
6cdb91fAdd eratosthenes sieve method for finding primes below given numberdc1cb7fAdd Wikipedia link explaining the Sieve of Eratosthenes alogrithmf50c966Fix the three commenting mistakes pointed out by @Panquesito72460c07updating DIRECTORY.md3bfa418Change variable name to convention, from 'NonPrimers' to 'nonPrimers'a3eb8ceExplain the need for each header and remove unused header <stdio.h>a702d15Fix a mistake in header file need explaination comment📊 Changes
2 files changed (+73 additions, -0 deletions)
View changed files
📝
DIRECTORY.md(+1 -0)➕
misc/sieve_of_eratosthenes.c(+72 -0)📄 Description
Description of Change
Notes: Added 'Sieve of Eratosthenes' algorithm along with test cases for primes below 100
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.