     ],
     "source": [
      "%run -i test_coin_change_ways.py"
     ]
    },
    {
     "cell_type": "code",
     "execution_count": null,
     "metadata": {
      "collapsed": true
     },
     "outputs": [],
     "source": []
    }
   ],
   "metadata": {
    "kernelspec": {
     "display_name": "Python 2",
 
</s> remove    "outputs": [
    {
     "name":"stdout",
     "text":[],
     "output_type": "stream"
    }
   ],
 </s> add    "outputs": [], </s> remove    "execution_count": 4,
 </s> add    "execution_count": 3, </s> remove    "execution_count": 5,
 </s> add    "execution_count": 2, </s> remove    "def change_ways(n, coins):\n",
   "    arr = [1] + [0] * n\n",
   "    for coin in coins:\n",
   "        for i in range(coin, n + 1):\n",
   "            arr[i] += arr[i - coin]\n",
   "    return 0 if n == 0 else arr[n]"
 </s> add     "def change_ways(n, coins):\n",
    "    arr = [1] + [0] * n\n",
    "    for coin in coins:\n",
    "        for i in range(coin, n + 1):\n",
    "            arr[i] += arr[i - coin]\n",
    "    return 0 if n == 0 else arr[n]" </s> remove    "version": "2.7.6"
 </s> add    "version": "2.7.10"
     ],
     "source": [
      "%run -i test_coin_change_ways.py"
     ]









    }
   ],
   "metadata": {
    "kernelspec": {
     "display_name": "Python 2",
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Cleaned up cell execution numbers, minor PEP8 line break tweak. 
recursion_dynamic/coin_change_ways/coin_change_ways_solution.ipynb