link list and array