Skip to content

Commit

Permalink
fix failing build by executing matrix cell
Browse files Browse the repository at this point in the history
  • Loading branch information
gitgik committed Dec 4, 2020
1 parent 9f9f161 commit a4435a8
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions recursion/matrix_maximum_coins.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -69,36 +69,18 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cache now has {}\n",
"Cache now has {}\n",
"Cache now has {}\n",
"Cache now has {}\n",
"Cache now has {}\n",
"Cache now has {}\n",
"Cache now has {(2, 3): 1, (1, 3): 5, (0, 3): 6}\n",
"Cache now has {(2, 3): 1, (1, 3): 5, (0, 3): 6}\n",
"Cache now has {(2, 3): 1, (1, 3): 5, (0, 3): 6, (2, 2): 4, (1, 2): 5, (0, 2): 7}\n",
"Cache now has {(2, 3): 1, (1, 3): 5, (0, 3): 6, (2, 2): 4, (1, 2): 5, (0, 2): 7}\n",
"Cache now has {(2, 3): 1, (1, 3): 5, (0, 3): 6, (2, 2): 4, (1, 2): 5, (0, 2): 7, (2, 1): 9, (1, 1): 9, (0, 1): 12}\n",
"Cache now has {(2, 3): 1, (1, 3): 5, (0, 3): 6, (2, 2): 4, (1, 2): 5, (0, 2): 7, (2, 1): 9, (1, 1): 9, (0, 1): 12}\n"
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"12"
]
},
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
"execution_count": 3
}
],
"source": [
Expand All @@ -109,13 +91,6 @@
"]\n",
"collect_coins(matrix)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -134,9 +109,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.6"
"version": "3.7.6-final"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit a4435a8

Please sign in to comment.