      "linked_list.remove_dupes()\n",
      "linked_list.print_list()\n",
      "# One element linked list\n",
      "head = Node(2)\n",
      "linked_list = LinkedList(head)\n",
      "linked_list.remove_dupes()\n",
      "linked_list.print_list()\n",
      "# Multiple elements\n",
      "# One or more duplicates\n",
      "linked_list.insert_to_front(1)\n",
 
</s>
    "linked_list = MyLinkedList(head)\n",
      "linked_list.remove_dupes()\n",
      "linked_list.print_list()\n",
      "# One element linked list\n",
      "head = Node(2)\n",
    "linked_list = MyLinkedList(head)\n",
      "linked_list.remove_dupes()\n",
      "linked_list.print_list()\n",
      "# Multiple elements\n",
      "# One or more duplicates\n",
      "linked_list.insert_to_front(1)\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/remove-duplicates.ipynb