      "collapsed": true
     },
     "outputs": [],
     "source": [
      "%run stack.py"
     ]
    },
    {
     "cell_type": "code",
     "execution_count": 2,
 
</s> remove     "collapsed": true
 </s> add     "collapsed": false </s> remove     "    test = Test()\n",
    "    test.test_queue_from_stacks()"
 </s> add     "    main()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Test: Dequeue on empty stack\n",
      "Test: Enqueue on empty stack\n",
      "Test: Enqueue on non-empty stack\n",
      "Test: Multiple enqueue in a row\n",
      "Test: Dequeue on non-empty stack\n",
      "Test: Dequeue after an enqueue\n",
      "Test: Multiple dequeue in a row\n",
      "Test: Enqueue after a dequeue\n",
      "Success: test_queue_from_stacks\n"
     ]
    }
   ],
   "source": [
    "%run -i test_queue_from_stacks.py" </s> remove     "<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>"
 </s> add     "<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" </s> remove     "\n",
    "*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     "\n"
    "%run ../stack/stack.py"
      "collapsed": true
     },
     "outputs": [],
     "source": [
    "%run ../stack/stack.py"
     ]
    },
    {
     "cell_type": "code",
     "execution_count": 2,
keep keep keep keep replace keep keep keep keep keep
 Added queue from stacks challenge. 
stacks_queues/queue_from_stacks/queue_from_stacks_solution.ipynb