How to find nth last element in a linked list using recursion?
Hello All, I just wanted to know,how to use recursion to find the nth last element in a linked list? I know of an approach using 2 pointers as well as another one using 2 iterations but I can't seem to figure out the recursive solution.Any help will be greatly appreciated. Thanks.
__________________
Website Development
Domain Name Forum
|