S&P Global interview question

algorithm to reverse a singly linkedlist. (most efficient way)

Interview Answer

Anonymous

Feb 18, 2010

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