      "        linked_list.insert_to_front(10)\n",
      "        linked_list.insert_to_front(1)\n",
      "        linked_list.insert_to_front(10)\n",
      "        linked_list.insert_to_front(8)\n",
      "        linked_list.insert_to_front(7)\n",
      "        linked_list.insert_to_front(3)\n",
      "        linked_list.insert_to_front(4)\n",
      "        partitioned_list = linked_list.partition(10)\n",
      "        assert_equal(partitioned_list.get_all_data(),\n",
      "                     [4, 3, 7, 8, 1, 10, 10, 12])\n",
 
</s>
    "        linked_list.insert_to_front(13)\n",
      "        linked_list.insert_to_front(10)\n",
      "        linked_list.insert_to_front(1)\n",
      "        linked_list.insert_to_front(10)\n",
      "        linked_list.insert_to_front(8)\n",
    "        linked_list.insert_to_front(13)\n",
      "        linked_list.insert_to_front(3)\n",
      "        linked_list.insert_to_front(4)\n",
      "        partitioned_list = linked_list.partition(10)\n",
      "        assert_equal(partitioned_list.get_all_data(),\n",
      "                     [4, 3, 7, 8, 1, 10, 10, 12])\n",
keep keep keep keep replace keep keep keep keep keep
 Fixed #21: Partitioning linked list problem: Does not work if item greater than partition value is to the left.
linked_lists/partition/partition_solution.ipynb