      "# k is >= the length of the linked list\n",
      "print(linked_list.kth_to_last_elem(100))\n",
      "# One element, k = 0\n",
      "head = Node(2)\n",
      "linked_list = LinkedList(head)\n",
      "print(linked_list.kth_to_last_elem(0))\n",
      "# General case with many elements, k < length of linked list\n",
      "linked_list.insert_to_front(1)\n",
      "linked_list.insert_to_front(3)\n",
      "linked_list.insert_to_front(5)\n",
 
</s> remove     "linked_list = LinkedList(None)\n",
 </s> add     "linked_list = MyLinkedList(None)\n", </s> remove     "linked_list = LinkedList(head)\n",
 </s> add     "linked_list = MyLinkedList(head)\n", </s> remove     "linked_list = LinkedList(head)\n",
 </s> add     "linked_list = MyLinkedList(head)\n", </s> remove     "* Do we assume the linked list class already exists?\n",
    "    * No, create one\n",
 </s> add  </s> remove     "* Can you insert NULL values in the list?\n",
    "    * No\n",
    "* Can use additional data structures?\n",
 </s> add     "* Can you use additional data structures?\n",
    "linked_list = MyLinkedList(head)\n",
      "# k is >= the length of the linked list\n",
      "print(linked_list.kth_to_last_elem(100))\n",
      "# One element, k = 0\n",
      "head = Node(2)\n",
    "linked_list = MyLinkedList(head)\n",
      "print(linked_list.kth_to_last_elem(0))\n",
      "# General case with many elements, k < length of linked list\n",
      "linked_list.insert_to_front(1)\n",
      "linked_list.insert_to_front(3)\n",
      "linked_list.insert_to_front(5)\n",
keep keep keep keep replace keep keep keep keep keep
 Refactored linked list class.  Class is now loaded by other notebooks that reference it. 
linked-lists/kth-to-last-elem.ipynb