Linearity GmbH Interview Question

Dealing with the technical test