T-Systems interview question

find an error with a method with array loop and lambda