mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-05 00:48:03 +00:00
Removed mention of queue as those are potential hints in solving the problem.
This commit is contained in:
@@ -34,8 +34,6 @@
|
||||
"## Constraints\n",
|
||||
"\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"
|
||||
]
|
||||
},
|
||||
@@ -73,9 +71,6 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from collections import deque\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"class MyNode(Node):\n",
|
||||
"\n",
|
||||
" def bfs(self, visit_func):\n",
|
||||
|
||||
Reference in New Issue
Block a user