Frage im Vorstellungsgespräch bei Huawei Technologies

Standard interview array computation question