OpenText Interview Question

Q. Write code using Java streams.