Public | Automated Build

Last pushed: a year ago
Short Description
Recruitment Homework for C++ Engineers
Full Description


Oxehealth Recruitment Homework for C++ Engineers

Send us code for a "worker" that can find the largest elements
of various input vectors. The input arrives on one thread, and
the answers will be read on another, and the work needs to be
done in a way that avoids the calculation being done on either
calling thread, but using a maximum number of worker threads.

A basic code stub example has been provided within the code folder.

We have provided a target build environment within a
Docker container, which is based on Ubuntu 16.04
(Instructions for installing docker can be found on the Docker Website)

Long Version

First clone this repository

git clone
cd ./vector-maximum-worker

The container can be started by using ./
The code folder is mapped into the container so it is possible to
edit the hpp/cpp files using whichever editor you prefer.

Alternatively you can use the following to start the container:

docker run -v ./code:/code -w /code -i -t oxehealth/vector-maximum-worker bash

The container ./ script will pull the container from
Docker Hub.
However if you prefer, the container can be rebuilt using ./

Alternatively use the following to rebuild the container:

docker build -t vector-maximum-worker .

sudo access is enabled within the container if you want to install
any other packages.

Within the container in /code there is a ./ which will kick
off a CMake build of the C++ files.
There is also a ./ which will start the VectorMaximumWorker exe

Short Version

# On Host Machine 
git clone
cd ./vector-maximum-worker

# Within Container
Docker Pull Command
Source Repository