JPMorganChase Interview Question

Java Stream API, Functional interface