Capgemini interview question

Internal implementation of tree set and hashmap?