Valeo interview question

The interview was a Hackerrank assessment