DSC-Chitkara / Algo-DS

Repository for new Contributors to come and collaborate for hacktoberfest!
16 stars 111 forks source link

Prime_Number-Running_Time_and_Complexity.cpp #178

Open himanshusharma89 opened 5 years ago

himanshusharma89 commented 5 years ago

What Changes does this PR introduce?

This program gives you an optimised prime number code

What issue have you fixed?

If possible, try to come up with an O(sqrt(n)) primality algorithm, or see what sort of optimizations you come up with for an O(n) algorithm.

If relevant, have you updated the README file?

No

Have you added your name to CONTRIBUTORS.md?

No

Have you added tests for your code?

No

Any other information?

No