Samsung Electronics interview question

Ad hoc questions based on basic linked list, BFS, DFS, etc.