Showing posts with label Find Nth node. Show all posts
Showing posts with label Find Nth node. Show all posts

N'th node from the end of a Linked List

Need to find the N'th node from the end of Singly Linked List. Since its singly linked we can't traverse bidirectional and important condition is to traverse only once from start to end of...