OpenGenus/cosmos
View on GitHubPrint Nth node of a singly linked list in the reverse manner
Open
#669 opened on Oct 6, 2017
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.