Samsung Electronics interview question

Linked-list ,array and basic of trees