Accenture interview question

array linkedlist string was asked basics