|
1 | | -# Staff Services Software Engineer Coding Exercise |
| 1 | +# Services Software Engineer Coding Exercise |
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 in `pkg/sieve/sieve.go` 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. |
| 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 |
7 | 8 |
|
8 | 9 | ### Requirements |
9 | 10 |
|
10 | | -- A url to a publically accessible `git` repository (GitHub, GitLab, self-hosted, etc) of the completed exercise must be given to your coordinator at least 24 hours in advance of the technical interview |
11 | | -- Interviewers must be able to clone the repository via `git clone` |
12 | | -- Interviewers must be able to execute a suite of tests via `go test ./...` |
13 | | -- The go library package provides an API for retrieving the Nth prime number using 0-based indexing where the 0th prime number is 2 |
| 11 | +- The library package provides an API for retrieving the Nth prime number using 0-based indexing where the 0th prime number is 2 |
| 12 | +- Interviewers must be able to execute a suite of tests |
| 13 | + - Go: `go test ./...` |
| 14 | + - C#: `dotnet test Sieve.Tests` |
| 15 | + - Javascript: `npm run test` |
| 16 | +- Your solution is committed to this projects `main` branch, no uncommitted changes or untracked files please. |
14 | 17 |
|
15 | 18 | ### Considerations |
16 | 19 |
|
|
0 commit comments