TIAA interview question

Streams api code