Posted inJavascript
Reversing a Singly Linked List
Reversing a linked list is an important concept for a software engineer to understand. In this post I share some Javascript code showing how to reverse a linked list in O(n) time complexity and O(1) space complexity.