Candidate Technical Test

Complete the tasks below and submit your solution

1 Retrieve the Test

Fetch the test details from our API:

GET /test

You'll receive:

  • A programming task with test cases (inputs only)
  • A GitHub repository link to fork
2 Complete the Tasks

The response from GET /test contains everything you need:

  • A programming task — function signature and 10 test cases (inputs only)
  • A GitHub repository link to fork and implement the solution in
  1. Fork the provided repository
  2. Implement the required function
  3. Run the function against each test case and collect your outputs
  4. Push your changes to your fork
3 Submit Your Solution

Send a POST request to /submit with the following JSON body:

POST /submit
{
  "name":        "Your Full Name",
  "email":       "your@email.com",
  "github_link": "https://github.com/yourusername/repo-fork",
  "answers": [
    [0, 1],
    [1, 2],
    [0, 1],
    ...
  ]
}
Field Type Description
name string Your full name
email string Your email address
github_link string URL of your forked repository with the implementation
answers array Your outputs for each test case in order — one [i, j] pair per case.
Must contain exactly as many entries as there are test cases.

The server checks every answer against the hidden expected output. All cases must pass for the submission to be accepted.

Important Notes