BMC Software interview question

java and data structure