Skip to content

Commit 949534e

Browse files
committed
Merge branch 'new_languages' into 'main'
feat: include new languages C# and Javascript See merge request bhe/services-engineer-coding-exercise!1
2 parents 4bbc767 + 5910c70 commit 949534e

18 files changed

Lines changed: 6922 additions & 7 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
# Staff Services Software Engineer Coding Exercise
1+
# Services Software Engineer Coding Exercise
22

33
## The Sieve of Eratosthenes
44

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
78

89
### Requirements
910

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.
1417

1518
### Considerations
1619

0 commit comments

Comments
 (0)