AgileEngine interview question

Easy Java 8 programming challenge.