Altimetrik interview question

data structures,java