XM interview question

Data structures and algorithms, with a focus on java 8.