Created
April 24, 2016 18:49
-
-
Save cruxrebels/9a8ea0f741423b02d66f3dd607ceda17 to your computer and use it in GitHub Desktop.
Given a number N, find all prime numbers upto N ( N included ). Example: if N = 7, all primes till 7 = {2, 3, 5, 7} Make sure the returned array is sorted. Tags: InterviewBit Math Problem https://www.interviewbit.com/problems/prime-numbers/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment