Genpact interview question

Java stream API, executor service