ADP interview question

Round 1: Coding question on Data structure, Java 8, Relational Database