S&P Global Market Intelligence Interview Question: algorithm to reverse a singly... | Glassdoor

Interview Question

Software Engineer Interview(Student Candidate) New York, NY

algorithm to reverse a singly linkedlist. (most efficient


Interview Answer

1 Answer


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

Interview Candidate on Feb 17, 2010

Add Answers or Comments

To comment on this, Sign In or Sign Up.