    {
     "cell_type": "markdown",
     "metadata": {},
     "source": [
      "<small><i>This notebook was prepared by [Donne Martin](http://donnemartin.com). Source and license info is on [GitHub](https://bit.ly/code-notes).</i></small>"
     ]
    },
    {
     "cell_type": "markdown",
     "metadata": {},
 
</s> remove   {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "*It is important to identify and run through general and edge cases from the [Test Cases](#Test-Cases) section by hand.  You generally will not be asked to write a unit test like what is shown below.*"
   ]
  },
 </s> add  </s> remove     "* Empty list\n",
    "* k is not an integer\n",
    "* k is >= the length of the linked list\n",
    "* One element, k = 0\n",
 </s> add     "* Empty list -> None\n",
    "* k is >= the length of the linked list -> None\n",
    "* One element, k = 0 -> element\n", </s> remove     "collapsed": true
 </s> add     "collapsed": false </s> remove     "%run linked_list.py"
 </s> add     "%run ../linked_list/linked_list.py" </s> remove     "    test.test_kth_to_last_elem()"
 </s> add     "    test.test_kth_to_last_elem()\n",
    "    \n",
    "if __name__ == '__main__':\n",
    "    main()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Test: Empty list\n",
      "Test: k >= len(list)\n",
      "Test: One element, k = 0\n",
      "Test: General case\n",
      "Success: test_kth_to_last_elem\n"
     ]
    }
   ],
   "source": [
    "%run -i test_kth_to_last_elem.py"
    "<small><i>This notebook was prepared by [Donne Martin](http://donnemartin.com). Source and license info is on [GitHub](https://github.com/donnemartin/coding-challenges).</i></small>"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Solution Notebook"
    {
     "cell_type": "markdown",
     "metadata": {},
     "source": [
    "<small><i>This notebook was prepared by [Donne Martin](http://donnemartin.com). Source and license info is on [GitHub](https://github.com/donnemartin/coding-challenges).</i></small>"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Solution Notebook"
     ]
    },
    {
     "cell_type": "markdown",
     "metadata": {},
keep keep keep keep replace keep keep keep keep keep
 Added kth to last element challenge. 
linked_lists/kth_to_last_elem/kth_to_last_elem_solution.ipynb