Retired

Sieve of Eratosthenes(Nagendra) in Fastest Way (retired)

Description:

Hello friends

Given a number n, print all primes smaller than or equal to n.

It is also given that n is a small number.

For example, if n is 10, the output should be “2, 3, 5, 7”. If n is 20, the output should be “2, 3, 5, 7, 11, 13, 17, 19”.

Algorithms

Stats:

CreatedJun 1, 2020
Warriors Trained20
Total Skips0
Total Code Submissions28
Total Times Completed16
Python Completions16
Total Stars0
% of votes with a positive feedback rating12% of 13
Total "Very Satisfied" Votes1
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes11
Total Rank Assessments9
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • nagendra226 Avatar
Ad