Sumerge interview question

Design patterns/Threads/Java 8