Insert a number in the parameter and return the value of the node that it’s location in the linkedlist equals the number, else throw an exception.
BigO:
I have provided a method to get the length of the linked-list and to get the kth value