Pregunta de entrevista de EPAM Systems

Datastructure problem and Java 8 problem solving was asked,