MathWorks interview question

Concept about Data Structure. Linked List, DFS, etc.