Infovision, Inc. interview question

Java 8 streams and matrix questions