Synechron Interview Question

internal implementation of arraylist