Persistent Systems Interview Question

internal implementation of arraylist and hashmap