Interview Question

Intern Interview(Student Candidate)

Given a linked list with nodes 1, 2, 3, 4 and 5 - how would

  you generate the linked list 1, 5, 2, 4 then 3?
Answer

Interview Answer

1 Answer

0

Was an application of the earlier question on reversing a linked list.

Interview Candidate on Feb 19, 2013

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up