One2N interview question

System Design and Java Streams based questions