Frage im Vorstellungsgespräch bei Thoughtworks

The first coding round had a very easy array problem.