The following function is trying to find the nth to last element of a singly linked list.
nth
For example:
If the elements are
What do you think regarding this approach.