Opteamix Interview Question

Java 8, Spring, Couple of DS problems