     ]
    },
    {
     "cell_type": "code",
     "execution_count": 5,
     "metadata": {
      "collapsed": false
     },
     "outputs": [
      {
 
</s> remove    "execution_count": 4,
 </s> add    "execution_count": 3, </s> remove   },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
 </s> add  </s> remove    "outputs": [
    {
     "name":"stdout",
     "text":[],
     "output_type": "stream"
    }
   ],
 </s> add    "outputs": [], </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"
   "execution_count": 2,
     ]
    },
    {
     "cell_type": "code",
   "execution_count": 2,
     "metadata": {
      "collapsed": false
     },
     "outputs": [
      {
keep keep keep keep 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