You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,19 @@
2
2
3
3
## The Sieve of Eratosthenes
4
4
5
-
Prime numbers have many modern day applications and a long history in mathematics. Utilizing your own resources research the sieve of Eratosthenes, an algorithm for generating prime numbers. Based on your research, implement an API that allows the caller to retrieve the Nth prime number.
6
-
Some stub code and a test suite have been provided as a convenience, however, you are encouraged to deviate from Eratosthenes's algorithm, modify the existing functions/methods or anything else that might showcase your ability provided the following requirements are satisfied.
7
-
Stub code has been provided in Go, C#, and Javascript. Please use the language that is most appropriate based on your own skillset
5
+
Prime numbers have many modern day applications and a long history in
6
+
mathematics. Utilizing your own resources research the sieve of Eratosthenes,
7
+
an algorithm for generating prime numbers. Based on your research, implement
8
+
an API that allows the caller to retrieve the Nth prime number.
9
+
Some stub code and a test suite have been provided as a convenience, however,
10
+
you are encouraged to deviate from Eratosthenes's algorithm, modify the
11
+
existing functions/methods or anything else that might showcase your ability
12
+
provided the following requirements are satisfied.
13
+
14
+
You must author your work in either Go, JavaScript/TypeScript, or C# - all
15
+
other language submissions will be rejected. Stub code has been provided so
16
+
please choose from one of the provided language stubs that is most
17
+
appropriate based on your own skill set and the position you are applying for.
8
18
9
19
### Requirements
10
20
@@ -19,6 +29,9 @@ Stub code has been provided in Go, C#, and Javascript. Please use the language t
19
29
20
30
### Considerations
21
31
32
+
You may add more tests or restructure tests, but you may NOT change or remove
33
+
the existing test outcomes; eg- f(0)=2, f(19)=71, f(99)=541, ..., f(10000000)=179424691
34
+
22
35
During the technical interview, your submission will be discussed, and you will be evaluated in the following areas:
0 commit comments