shahid143-awk / Hacktober-fest

0 stars 0 forks source link

Created PrimalityTest_SieveOfErastosthenes.cpp #7

Closed VishalPatil18 closed 4 years ago

VishalPatil18 commented 4 years ago

Program to check if a number is prime or not with O(1) time complexity for answering the query using Sieve of Erastothenes. The implementation is in C++. Code Contribution by Vishal Patil.