Backbase interview question

The question was focused on Java, Collections in Java, Performance, and security? For example, What did you use Map as the data structure for this part of your solution? what is the difference between HashMap and TreeMap?