Cognizant Interview Question

Questions on Java 8 on filter, map, groupingby and other operations