Scytalys interview question

Java streams, lambda expressions and their if they are mutable. An algorithmic exercise.