Java 8 stream coding interview questions