Removed mention of queue as those are potential hints in solving the problem.

This commit is contained in:
Donne Martin 2015-08-01 09:31:52 -04:00
parent a20ac9cdf0
commit 11f94f9ba8

View File

@ -34,8 +34,6 @@
"## Constraints\n", "## Constraints\n",
"\n", "\n",
"* Can we assume we already have a Node class with an insert method?\n", "* Can we assume we already have a Node class with an insert method?\n",
" * Yes\n",
"* Can we use collections.deque for the queue?\n",
" * Yes" " * Yes"
] ]
}, },
@ -73,9 +71,6 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"from collections import deque\n",
"\n",
"\n",
"class MyNode(Node):\n", "class MyNode(Node):\n",
"\n", "\n",
" def bfs(self, visit_func):\n", " def bfs(self, visit_func):\n",