#Find the nth node from the end of a linkedlist
from singlylinkedlist.linkedlist import LinkedList

ll = LinkedList()
ll.insertAtBeginning(1)
ll.insertAtBeginning(2)
ll.insertAtBeginning(3)
ll.insertAtBeginning(4)
ll.insertAtBeginning(5)
ll.print_list()
ll.problem1(2)
