Interview Question

Software Engineer Interview(Student Candidate) New York, NY

algorithm to reverse a singly linkedlist. (most efficient

  way)
Answer

Interview Answer

1 Answer

0

running in O(n). using iterator to rearrange the nodes.

Interview Candidate on Feb 17, 2010

Add Answers or Comments

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