OpenGenus/cosmos

Print Nth node of a singly linked list in the reverse manner

Open

#669 opened on Oct 6, 2017

View on GitHub
 (37 comments) (0 reactions) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

You must be able to fetch the nth node in a singly linked list in the reverse manner eg:- if there is a list of 100 nodes and node number 10th is passed, you must be able to return the 10th node from the end of the list.

Contributor guide