ION Group interview question

What datatype is used for dynamic allocation? arraylist or linkedlist?