Evive interview question

data-structure java