     "metadata": {},
     "source": [
      "## Clarifying Questions\n",
      "\n",
      "* Do we assume the linked list class already exists?\n",
      "    * No, create one\n",
      "* What if the final node is being deleted, for example a single node list?\n",
      "    * Make it a dummy node"
     ]
    },
    {
 
</s> remove     "* Do we assume the linked list class already exists?\n",
    "    * No, create one\n",
 </s> add  </s> remove     "* Do we assume the linked list class already exists?\n",
    "    * No, create one\n",
 </s> add  </s> remove     "* Can use additional data structures?\n",
 </s> add     "* Can you use additional data structures?\n", </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", </s> remove     "            curr = curr.next\n",
    "            \n",
    "    def insert_to_front(self, data):\n",
    "        if data is None:\n",
    "            return\n",
    "        node = Node(data)\n",
    "        if self.head is None:\n",
    "            self.head = node\n",
    "        else:\n",
    "            node.next = self.head\n",
    "            self.head = node            \n",
    "            \n",
    "    def print_list(self):\n",
    "        curr = self.head\n",
    "        while curr is not None:\n",
    "            print(curr.data)\n",
    "            curr = curr.next\n",
    "            \n",
 </s> add     "            curr = curr.next"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
     "metadata": {},
     "source": [
      "## Clarifying Questions\n",
      "\n",


      "* What if the final node is being deleted, for example a single node list?\n",
      "    * Make it a dummy node"
     ]
    },
    {
keep keep keep keep replace replace keep keep keep keep keep
 Refactored linked list class.  Class is now loaded by other notebooks that reference it. 
linked-lists/delete-mid.ipynb